#F9F472#F9F472
#F9F472 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.151 H 106.9°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F472 |
|---|---|
| RGB | rgb(249, 244, 114) |
| HSL | hsl(58, 92%, 71%) |
| HSV | hsv(58, 54%, 98%) |
| CMYK | cmyk(0%, 2%, 54.2%, 2.4%) |
| CIE-LAB | lab(94.34, -14.67, 62.14) |
| CIE-LCH | lch(94.34, 63.85, 103.28°) |
| OKLab | oklab(94.61% -0.0441 0.1447) |
| OKLCH | oklch(94.61% 0.151 106.9) |
| XYZ | xyz(74.4570, 86.0582, 28.6051) |
| Luminance | 0.8606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.78
Custard
#FFFD78
ΔE00 1.87
Butter Yellow
#FFFD74
ΔE00 1.94
Light Yellow
#FFFE7A
ΔE00 2.11
Yellowish
#FAEE66
ΔE00 2.18
Manilla
#FFFA86
ΔE00 2.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F472 #7277F9
analogous
#F9B072 #F9F472 #BAF972
triadic
#F9F472 #72F9F4 #F472F9
tetradic
#F9F472 #72F9B0 #7277F9 #F972BA
square
#F9F472 #72F9B0 #7277F9 #F972BA
split-complementary
#F9F472 #72BAF9 #B072F9
monochromatic
#E7DF0A #F7EF37 #F9F472 #FBF9AD #FEFDE2
Accessibility & contrast
On white
1.15
#F9F472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.21
#F9F472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F472
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F472 | 1.00 | 1.15 | 18.21 | 18.21 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f9f472; /* rgb */ color: rgb(249, 244, 114); /* oklch */ color: oklch(94.6% 0.151 106.9);
Tailwind
colors: {
custom: {
50: '#fef79e',
500: '#f9f472',
950: '#000000',
},
}SCSS
$custom: #f9f472; $custom-light: #fef79e; $custom-dark: #000000;
JSON
{
"hex": "#f9f472",
"rgb": {
"r": 249,
"g": 244,
"b": 114
},
"hsl": {
"h": 57.778,
"s": 91.837,
"l": 71.176
},
"oklch": {
"l": 0.9461,
"c": 0.15125,
"h": 106.9
},
"luminance": 0.86056
}Semantic roles & 50–950 ramp
primary
#F9F472
secondary
#3B41D4
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580