#F9E475#F9E475
#F9E475 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.133 H 98.8°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E475 |
|---|---|
| RGB | rgb(249, 228, 117) |
| HSL | hsl(50, 92%, 72%) |
| HSV | hsv(50, 53%, 98%) |
| CMYK | cmyk(0%, 8.4%, 53%, 2.4%) |
| CIE-LAB | lab(90.28, -6.53, 56.09) |
| CIE-LCH | lch(90.28, 56.47, 96.64°) |
| OKLab | oklab(91.4% -0.0204 0.1319) |
| OKLCH | oklch(91.4% 0.133 98.8) |
| XYZ | xyz(70.0236, 76.9136, 27.9835) |
| Luminance | 0.7691 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.95
Sand Yellow
#FCE166
ΔE00 2.16
Sandy Yellow
#FDEE73
ΔE00 2.83
Pale Gold
#FDDE6C
ΔE00 2.85
Sandy
#F1DA7A
ΔE00 2.96
Dull Yellow
#EEDC5B
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E475 #758AF9
analogous
#F9A275 #F9E475 #CCF975
triadic
#F9E475 #75F9E4 #E475F9
tetradic
#F9E475 #75F9A2 #758AF9 #F975CC
square
#F9E475 #75F9A2 #758AF9 #F975CC
split-complementary
#F9E475 #75CCF9 #A275F9
monochromatic
#E9C60A #F6D93A #F9E475 #FCEFB0 #FEF9E2
Accessibility & contrast
On white
1.28
#F9E475 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.38
#F9E475 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E475
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E475 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E475 | 1.00 | 1.28 | 16.38 | 16.38 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6B
Deuteranopia (green-blind)
#FCE77A
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f9e475; /* rgb */ color: rgb(249, 228, 117); /* oklch */ color: oklch(91.4% 0.133 98.8);
Tailwind
colors: {
custom: {
50: '#feec9f',
500: '#f9e475',
950: '#000000',
},
}SCSS
$custom: #f9e475; $custom-light: #feec9f; $custom-dark: #000000;
JSON
{
"hex": "#f9e475",
"rgb": {
"r": 249,
"g": 228,
"b": 117
},
"hsl": {
"h": 50.455,
"s": 91.667,
"l": 71.765
},
"oklch": {
"l": 0.914,
"c": 0.13347,
"h": 98.8
},
"luminance": 0.76911
}Semantic roles & 50–950 ramp
primary
#F9E475
secondary
#3D56D5
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480