#F9E472#F9E472
#F9E472 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.136 H 99.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E472 |
|---|---|
| RGB | rgb(249, 228, 114) |
| HSL | hsl(51, 92%, 71%) |
| HSV | hsv(51, 54%, 98%) |
| CMYK | cmyk(0%, 8.4%, 54.2%, 2.4%) |
| CIE-LAB | lab(90.25, -6.76, 57.43) |
| CIE-LCH | lch(90.25, 57.83, 96.72°) |
| OKLab | oklab(91.36% -0.0214 0.1345) |
| OKLCH | oklch(91.36% 0.136 99) |
| XYZ | xyz(69.8500, 76.8442, 27.0694) |
| Luminance | 0.7684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.86
Sand Yellow
#FCE166
ΔE00 1.93
Sandy Yellow
#FDEE73
ΔE00 2.66
Dull Yellow
#EEDC5B
ΔE00 2.78
Pale Gold
#FDDE6C
ΔE00 2.85
Sandy
#F1DA7A
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E472 #7287F9
analogous
#F9A072 #F9E472 #CAF972
triadic
#F9E472 #72F9E4 #E472F9
tetradic
#F9E472 #72F9A0 #7287F9 #F972CA
square
#F9E472 #72F9A0 #7287F9 #F972CA
split-complementary
#F9E472 #72CAF9 #A072F9
monochromatic
#E7C40A #F7D937 #F9E472 #FBEFAD #FEF9E2
Accessibility & contrast
On white
1.28
#F9E472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.37
#F9E472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E472
16.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E472 | 1.00 | 1.28 | 16.37 | 16.37 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f9e472; /* rgb */ color: rgb(249, 228, 114); /* oklch */ color: oklch(91.4% 0.136 99.0);
Tailwind
colors: {
custom: {
50: '#feec9d',
500: '#f9e472',
950: '#000000',
},
}SCSS
$custom: #f9e472; $custom-light: #feec9d; $custom-dark: #000000;
JSON
{
"hex": "#f9e472",
"rgb": {
"r": 249,
"g": 228,
"b": 114
},
"hsl": {
"h": 50.667,
"s": 91.837,
"l": 71.176
},
"oklch": {
"l": 0.91364,
"c": 0.13622,
"h": 99
},
"luminance": 0.76841
}Semantic roles & 50–950 ramp
primary
#F9E472
secondary
#3B53D4
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480