#F9D96C#F9D96C
#F9D96C is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.1% C 0.133 H 93.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D96C |
|---|---|
| RGB | rgb(249, 217, 108) |
| HSL | hsl(46, 92%, 70%) |
| HSV | hsv(46, 57%, 98%) |
| CMYK | cmyk(0%, 12.9%, 56.6%, 2.4%) |
| CIE-LAB | lab(87.41, -1.67, 56.90) |
| CIE-LCH | lch(87.41, 56.92, 91.68°) |
| OKLab | oklab(89.1% -0.0074 0.1327) |
| OKLCH | oklch(89.1% 0.133 93.2) |
| XYZ | xyz(66.5893, 70.8514, 24.3526) |
| Luminance | 0.7085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 1.28
Light Mustard
#F7D560
ΔE00 1.39
Wheat (survey)
#FBDD7E
ΔE00 2.18
Light Gold
#FDDC5C
ΔE00 2.33
Yellow Tan
#FFE36E
ΔE00 2.57
Sand Yellow
#FCE166
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D96C #6C8CF9
analogous
#F9936C #F9D96C #D2F96C
triadic
#F9D96C #6CF9D9 #D96CF9
tetradic
#F9D96C #6CF993 #6C8CF9 #F96CD2
square
#F9D96C #6CF993 #6C8CF9 #F96CD2
split-complementary
#F9D96C #6CD2F9 #936CF9
monochromatic
#E1B009 #F7CA31 #F9D96C #FBE8A7 #FEF7E2
Accessibility & contrast
On white
1.38
#F9D96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#F9D96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D96C
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D96C | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F5DF71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f9d96c; /* rgb */ color: rgb(249, 217, 108); /* oklch */ color: oklch(89.1% 0.133 93.2);
Tailwind
colors: {
custom: {
50: '#fee499',
500: '#f9d96c',
950: '#000000',
},
}SCSS
$custom: #f9d96c; $custom-light: #fee499; $custom-dark: #000000;
JSON
{
"hex": "#f9d96c",
"rgb": {
"r": 249,
"g": 217,
"b": 108
},
"hsl": {
"h": 46.383,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.89099,
"c": 0.13295,
"h": 93.2
},
"luminance": 0.70848
}Semantic roles & 50–950 ramp
primary
#F9D96C
secondary
#3659D4
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F