#F8D86C#F8D86C
#F8D86C is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.132 H 93.1°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D86C |
|---|---|
| RGB | rgb(248, 216, 108) |
| HSL | hsl(46, 91%, 70%) |
| HSV | hsv(46, 56%, 97%) |
| CMYK | cmyk(0%, 12.9%, 56.5%, 2.7%) |
| CIE-LAB | lab(87.07, -1.57, 56.48) |
| CIE-LCH | lch(87.07, 56.50, 91.59°) |
| OKLab | oklab(88.81% -0.007 0.1319) |
| OKLCH | oklch(88.81% 0.132 93.1) |
| XYZ | xyz(65.9768, 70.1541, 24.2503) |
| Luminance | 0.7015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.36
Pale Gold
#FDDE6C
ΔE00 1.53
Wheat (survey)
#FBDD7E
ΔE00 2.18
Light Gold
#FDDC5C
ΔE00 2.52
Maize
#F4D054
ΔE00 2.73
Sandy
#F1DA7A
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D86C #6C8CF8
analogous
#F8926C #F8D86C #D2F86C
triadic
#F8D86C #6CF8D8 #D86CF8
tetradic
#F8D86C #6CF892 #6C8CF8 #F86CD2
square
#F8D86C #6CF892 #6C8CF8 #F86CD2
split-complementary
#F8D86C #6CD2F8 #926CF8
monochromatic
#DFAE0B #F5C932 #F8D86C #FBE7A6 #FEF7E1
Accessibility & contrast
On white
1.40
#F8D86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.03
#F8D86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D86C
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D86C | 1.00 | 1.40 | 15.03 | 15.03 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD562
Deuteranopia (green-blind)
#F4DE71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f8d86c; /* rgb */ color: rgb(248, 216, 108); /* oklch */ color: oklch(88.8% 0.132 93.1);
Tailwind
colors: {
custom: {
50: '#fde399',
500: '#f8d86c',
950: '#000000',
},
}SCSS
$custom: #f8d86c; $custom-light: #fde399; $custom-dark: #000000;
JSON
{
"hex": "#f8d86c",
"rgb": {
"r": 248,
"g": 216,
"b": 108
},
"hsl": {
"h": 46.286,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.88809,
"c": 0.13205,
"h": 93.1
},
"luminance": 0.70151
}Semantic roles & 50–950 ramp
primary
#F8D86C
secondary
#365AD2
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F