#F9E76C#F9E76C
#F9E76C is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.144 H 101.1°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E76C |
|---|---|
| RGB | rgb(249, 231, 108) |
| HSL | hsl(52, 92%, 70%) |
| HSV | hsv(52, 57%, 98%) |
| CMYK | cmyk(0%, 7.2%, 56.6%, 2.4%) |
| CIE-LAB | lab(90.95, -8.71, 60.95) |
| CIE-LCH | lch(90.95, 61.57, 98.13°) |
| OKLab | oklab(91.9% -0.0277 0.1415) |
| OKLCH | oklch(91.9% 0.144 101.1) |
| XYZ | xyz(70.3521, 78.3770, 25.6069) |
| Luminance | 0.7837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.59
Yellowish
#FAEE66
ΔE00 2.35
Sand Yellow
#FCE166
ΔE00 2.55
Dull Yellow
#EEDC5B
ΔE00 2.57
Yellow Tan
#FFE36E
ΔE00 2.79
Pale Gold
#FDDE6C
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E76C #6C7EF9
analogous
#F9A06C #F9E76C #C5F96C
triadic
#F9E76C #6CF9E7 #E76CF9
tetradic
#F9E76C #6CF9A0 #6C7EF9 #F96CC5
square
#F9E76C #6CF9A0 #6C7EF9 #F96CC5
split-complementary
#F9E76C #6CC5F9 #A06CF9
monochromatic
#E1C609 #F7DD31 #F9E76C #FBF1A7 #FEFAE2
Accessibility & contrast
On white
1.26
#F9E76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.67
#F9E76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E76C
16.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E76C | 1.00 | 1.26 | 16.67 | 16.67 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f9e76c; /* rgb */ color: rgb(249, 231, 108); /* oklch */ color: oklch(91.9% 0.144 101.1);
Tailwind
colors: {
custom: {
50: '#feee9a',
500: '#f9e76c',
950: '#000000',
},
}SCSS
$custom: #f9e76c; $custom-light: #feee9a; $custom-dark: #000000;
JSON
{
"hex": "#f9e76c",
"rgb": {
"r": 249,
"g": 231,
"b": 108
},
"hsl": {
"h": 52.34,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.91901,
"c": 0.14414,
"h": 101.1
},
"luminance": 0.78374
}Semantic roles & 50–950 ramp
primary
#F9E76C
secondary
#364AD4
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F