#F8D96C#F8D96C
#F8D96C is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 89.0% C 0.133 H 93.7°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D96C |
|---|---|
| RGB | rgb(248, 217, 108) |
| HSL | hsl(47, 91%, 70%) |
| HSV | hsv(47, 56%, 97%) |
| CMYK | cmyk(0%, 12.5%, 56.5%, 2.7%) |
| CIE-LAB | lab(87.32, -2.07, 56.77) |
| CIE-LCH | lch(87.32, 56.81, 92.09°) |
| OKLab | oklab(89.01% -0.0085 0.1325) |
| OKLCH | oklch(89.01% 0.133 93.7) |
| XYZ | xyz(66.2337, 70.6680, 24.3360) |
| Luminance | 0.7067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 1.26
Light Mustard
#F7D560
ΔE00 1.47
Wheat (survey)
#FBDD7E
ΔE00 2.20
Light Gold
#FDDC5C
ΔE00 2.34
Yellow Tan
#FFE36E
ΔE00 2.48
Sand Yellow
#FCE166
ΔE00 2.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D96C #6C8BF8
analogous
#F8936C #F8D96C #D1F86C
triadic
#F8D96C #6CF8D9 #D96CF8
tetradic
#F8D96C #6CF893 #6C8BF8 #F86CD1
square
#F8D96C #6CF893 #6C8BF8 #F86CD1
split-complementary
#F8D96C #6CD1F8 #936CF8
monochromatic
#DFB00B #F5CA32 #F8D96C #FBE8A6 #FEF7E1
Accessibility & contrast
On white
1.39
#F8D96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.13
#F8D96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D96C
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D96C | 1.00 | 1.39 | 15.13 | 15.13 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD561
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f8d96c; /* rgb */ color: rgb(248, 217, 108); /* oklch */ color: oklch(89.0% 0.133 93.7);
Tailwind
colors: {
custom: {
50: '#fde499',
500: '#f8d96c',
950: '#000000',
},
}SCSS
$custom: #f8d96c; $custom-light: #fde499; $custom-dark: #000000;
JSON
{
"hex": "#f8d96c",
"rgb": {
"r": 248,
"g": 217,
"b": 108
},
"hsl": {
"h": 46.714,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.89008,
"c": 0.13276,
"h": 93.7
},
"luminance": 0.70665
}Semantic roles & 50–950 ramp
primary
#F8D96C
secondary
#3659D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F