#F8D96D#F8D96D
#F8D96D is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 89.0% C 0.132 H 93.6°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D96D |
|---|---|
| RGB | rgb(248, 217, 109) |
| HSL | hsl(47, 91%, 70%) |
| HSV | hsv(47, 56%, 97%) |
| CMYK | cmyk(0%, 12.5%, 56%, 2.7%) |
| CIE-LAB | lab(87.33, -2.00, 56.32) |
| CIE-LCH | lch(87.33, 56.36, 92.03°) |
| OKLab | oklab(89.02% -0.0082 0.1316) |
| OKLCH | oklch(89.02% 0.132 93.6) |
| XYZ | xyz(66.2873, 70.6894, 24.6179) |
| Luminance | 0.7069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 1.32
Light Mustard
#F7D560
ΔE00 1.55
Wheat (survey)
#FBDD7E
ΔE00 2.07
Light Gold
#FDDC5C
ΔE00 2.46
Yellow Tan
#FFE36E
ΔE00 2.54
Sandy
#F1DA7A
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D96D #6D8CF8
analogous
#F8946D #F8D96D #D1F86D
triadic
#F8D96D #6DF8D9 #D96DF8
tetradic
#F8D96D #6DF894 #6D8CF8 #F86DD1
square
#F8D96D #6DF894 #6D8CF8 #F86DD1
split-complementary
#F8D96D #6DD1F8 #946DF8
monochromatic
#E0B00B #F5CA33 #F8D96D #FBE8A7 #FEF7E2
Accessibility & contrast
On white
1.39
#F8D96D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.14
#F8D96D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D96D
15.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D96D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D96D | 1.00 | 1.39 | 15.14 | 15.14 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD563
Deuteranopia (green-blind)
#F4DF72
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f8d96d; /* rgb */ color: rgb(248, 217, 109); /* oklch */ color: oklch(89.0% 0.132 93.6);
Tailwind
colors: {
custom: {
50: '#fde49a',
500: '#f8d96d',
950: '#000000',
},
}SCSS
$custom: #f8d96d; $custom-light: #fde49a; $custom-dark: #000000;
JSON
{
"hex": "#f8d96d",
"rgb": {
"r": 248,
"g": 217,
"b": 109
},
"hsl": {
"h": 46.619,
"s": 90.85,
"l": 70
},
"oklch": {
"l": 0.89019,
"c": 0.13187,
"h": 93.6
},
"luminance": 0.70686
}Semantic roles & 50–950 ramp
primary
#F8D96D
secondary
#3759D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F