Standard Color Family: YELLOW

Yellow Color

Pure RGB primary yellow combining full red and green intensity.

#primary#bright#css#popular
#FFFF00

#FFFF00 (Yellow)

Luminance: 0.9278 • Optimal Foreground: Black Text (#000000)

HEX Code

#FFFF00

RGB Channels

255, 255, 0

HSL Values

60°, 100%, 50%

Foreground Text

#000000

Color Space Specifications

Calculated color space values computed deterministically from #FFFF00.

Color ModelValueAction
HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60deg, 100%, 50%)
HSV / HSBhsv(60deg, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)
CIE XYZX:77.003, Y:92.783, Z:13.853
CIELABlab(97.1% -21.6 94.5)
CIELCHlch(97.1% 96.9 102.9)
OKLABoklab(0.968 -0.0714 0.1986)
OKLCHoklch(0.968 0.211 109.77)
Relative Luminance0.9278
Recommended Text#000000

Prominent Complementary Pair

Base color #FFFF00 paired side-by-side with its exact 180° mathematical complement #0000FF.

Base: #FFFF00
Complement: #0000FF

Color Wheel Harmony Schemes

Standard design harmony formulas generated relative to #FFFF00.

Complementary (180°)High-contrast opposing color on the 360° color wheel.
#FFFF00
#0000FF
Analogous (-30°, 0°, +30°)Adjacent colors offering harmonious, low-contrast natural cohesion.
#FF8000
#FFFF00
#80FF00
Triadic (120°, 240°)Three evenly spaced colors on the wheel forming a balanced triangle.
#FFFF00
#00FFFF
#FF00FF
Split-Complementary (150°, 210°)Base color paired with the two adjacent neighbors of its complement.
#FFFF00
#007FFF
#7F00FF
Tetradic / Double Complementary (90°, 180°, 270°)Four colors arranged into two complementary pairs.
#FFFF00
#00FF80
#0000FF
#FF0080
MonochromaticVariations in lightness and saturation along the identical hue angle.
#4C4D00
#A8A800
#FFFF00
#FFFF5C
#FFFFB3

Color Variations & Scales

Progressive mathematical shades, tints, and tones generated for #FFFF00.

Shades are created by progressively mixing black (#000000) into the base color, decreasing lightness while preserving hue.

#FFFF00
#E3E300
#C6C600
#AAAA00
#8E8E00
#717100
#555500
#393900
#1C1C00
#000000

WCAG 2.2 Accessibility & Contrast Audit

Legibility evaluations testing #FFFF00 against standard white and black text backgrounds according to W3C guidelines.

Text on White (#FFFFFF)1.07 : 1

Sample Text in #FFFF00

Sub-text body paragraph example.

Normal Text AA (≥ 4.5:1)FAIL
Large Text AA (≥ 3.0:1)FAIL
Normal Text AAA (≥ 7.0:1)FAIL
Large Text AAA (≥ 4.5:1)FAIL
UI Components (≥ 3.0:1)FAIL
Text on Black (#000000)19.56 : 1

Sample Text in #FFFF00

Sub-text body paragraph example.

Normal Text AA (≥ 4.5:1)PASS
Large Text AA (≥ 3.0:1)PASS
Normal Text AAA (≥ 7.0:1)PASS
Large Text AAA (≥ 4.5:1)PASS
UI Components (≥ 3.0:1)PASS

WCAG 2.2 Standard Note: Contrast ratio measures relative luminance difference between foreground and background. AA compliance requires at least 4.5:1 for body text (under 18pt) and 3.0:1 for large text or UI controls. AAA compliance requires 7.0:1 for normal body text.

CSS & Developer Snippets

Copyable production-ready CSS syntax and design tokens formatted for modern web standards.

HEX Color#FFFF00
HEX Backgroundbackground-color: #FFFF00;
CSS RGBrgb(255, 255, 0)
Modern CSS RGBrgb(255 255 0)
CSS HSLhsl(60deg 100% 50%)
CSS LABlab(97.1% -21.6 94.5)
CSS LCHlch(97.1% 96.9 102.9)
CSS OKLABoklab(0.968 -0.0714 0.1986)
CSS OKLCHoklch(0.968 0.211 109.77)
CSS Variable--color-ffff00: #FFFF00;
Design Token--color-primary: #FFFF00;
Tailwind Classbg-[#FFFF00]

Curated Palettes Featuring #FFFF00

Sage & Dusty Rose Wedding

Wedding

Lavender & Eucalyptus Dream

Wedding

Blush & Terracotta Romance

Wedding

Factual Color Summary & FAQ for #FFFF00

What color is #FFFF00?

#FFFF00 is an sRGB color defined by Red: 255, Green: 255, Blue: 0. In digital design catalogs, it is closely identified with "Yellow".Its calculated relative luminance value is 0.9278.

How do you convert #FFFF00 across color spaces?

In HSL, #FFFF00 measures 60° Hue, 100% Saturation, and 50% Lightness. In modern OKLCH, L is 0.968, Chroma is 0.211, and Hue angle is 109.77°. For commercial print (CMYK), values are Cyan: 0%, Magenta: 0%, Yellow: 100%, and Key (Black): 0%.

Is #FFFF00 WCAG 2.2 Accessible?

Against pure white (#FFFFFF), #FFFF00 achieves a 1.07:1 contrast ratio. Against pure black (#000000), it achieves a 19.56:1 contrast ratio. The optimal readable text foreground for #FFFF00 is Black (#000000).