Yellow Color
Pure RGB primary yellow combining full red and green intensity.
#FFFF00 (Yellow)
Luminance: 0.9278 • Optimal Foreground: Black Text (#000000)
#FFFF00
255, 255, 0
60°, 100%, 50%
#000000
Color Space Specifications
Calculated color space values computed deterministically from #FFFF00.
| Color Model | Value | Action |
|---|---|---|
| HEX | #FFFF00 | |
| RGB | rgb(255, 255, 0) | |
| HSL | hsl(60deg, 100%, 50%) | |
| HSV / HSB | hsv(60deg, 100%, 100%) | |
| CMYK | cmyk(0%, 0%, 100%, 0%) | |
| CIE XYZ | X:77.003, Y:92.783, Z:13.853 | |
| CIELAB | lab(97.1% -21.6 94.5) | |
| CIELCH | lch(97.1% 96.9 102.9) | |
| OKLAB | oklab(0.968 -0.0714 0.1986) | |
| OKLCH | oklch(0.968 0.211 109.77) | |
| Relative Luminance | 0.9278 | |
| Recommended Text | #000000 |
Prominent Complementary Pair
Base color #FFFF00 paired side-by-side with its exact 180° mathematical complement #0000FF.
Color Wheel Harmony Schemes
Standard design harmony formulas generated relative to #FFFF00.
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.
WCAG 2.2 Accessibility & Contrast Audit
Legibility evaluations testing #FFFF00 against standard white and black text backgrounds according to W3C guidelines.
Sample Text in #FFFF00
Sub-text body paragraph example.
Sample Text in #FFFF00
Sub-text body paragraph example.
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.
#FFFF00background-color: #FFFF00;rgb(255, 255, 0)rgb(255 255 0)hsl(60deg 100% 50%)lab(97.1% -21.6 94.5)lch(97.1% 96.9 102.9)oklab(0.968 -0.0714 0.1986)oklch(0.968 0.211 109.77)--color-ffff00: #FFFF00;--color-primary: #FFFF00;bg-[#FFFF00]Curated Palettes Featuring #FFFF00
Sage & Dusty Rose Wedding
WeddingLavender & Eucalyptus Dream
WeddingBlush & Terracotta Romance
WeddingFactual 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).
Explore Color Tools
Use #FFFF00 with our free web-based color tools.
Generate 50-950 scales in OKLCH space
Pick colors in modern OKLCH space
Fix low-contrast pairs to meet WCAG AA/AAA
Build primitive and semantic token sets
Convert HEX to RGB, HSL, CMYK, OKLCH
Audit text & UI contrast against WCAG 2.2
Educational Resources
Learn color theory and digital accessibility principles.
Understanding 6-digit hexadecimal web color notation
HEX, RGB, HSL, LAB, LCH, OKLAB & OKLCH explained
Mastering complementary, triadic, and analogous palettes
Meeting AA and AAA accessibility compliance