#F9E57A#F9E57A
#F9E57A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.130 H 98.9°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E57A |
|---|---|
| RGB | rgb(249, 229, 122) |
| HSL | hsl(51, 91%, 73%) |
| HSV | hsv(51, 51%, 98%) |
| CMYK | cmyk(0%, 8%, 51%, 2.4%) |
| CIE-LAB | lab(90.59, -6.62, 54.12) |
| CIE-LCH | lch(90.59, 54.52, 96.97°) |
| OKLab | oklab(91.66% -0.0201 0.1281) |
| OKLCH | oklch(91.66% 0.13 98.9) |
| XYZ | xyz(70.6013, 77.5862, 29.6653) |
| Luminance | 0.7758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.41
Sand Yellow
#FCE166
ΔE00 2.74
Sandy
#F1DA7A
ΔE00 2.86
Sandy Yellow
#FDEE73
ΔE00 2.89
Pale Gold
#FDDE6C
ΔE00 3.24
Dull Yellow
#EEDC5B
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E57A #7A8EF9
analogous
#F9A57A #F9E57A #CEF97A
triadic
#F9E57A #7AF9E5 #E57AF9
tetradic
#F9E57A #7AF9A5 #7A8EF9 #F97ACE
square
#F9E57A #7AF9A5 #7A8EF9 #F97ACE
split-complementary
#F9E57A #7ACEF9 #A57AF9
monochromatic
#EECA0B #F6DA3F #F9E57A #FCF0B5 #FEF9E2
Accessibility & contrast
On white
1.27
#F9E57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.52
#F9E57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E57A
16.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E57A | 1.00 | 1.27 | 16.52 | 16.52 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#FDE77F
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f9e57a; /* rgb */ color: rgb(249, 229, 122); /* oklch */ color: oklch(91.7% 0.130 98.9);
Tailwind
colors: {
custom: {
50: '#feeda3',
500: '#f9e57a',
950: '#000000',
},
}SCSS
$custom: #f9e57a; $custom-light: #feeda3; $custom-dark: #000000;
JSON
{
"hex": "#f9e57a",
"rgb": {
"r": 249,
"g": 229,
"b": 122
},
"hsl": {
"h": 50.551,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.91662,
"c": 0.12965,
"h": 98.9
},
"luminance": 0.77584
}Semantic roles & 50–950 ramp
primary
#F9E57A
secondary
#4259D5
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480