#F8E06C#F8E06C
#F8E06C is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.138 H 97.8°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E06C |
|---|---|
| RGB | rgb(248, 224, 108) |
| HSL | hsl(50, 91%, 70%) |
| HSV | hsv(50, 56%, 97%) |
| CMYK | cmyk(0%, 9.7%, 56.5%, 2.7%) |
| CIE-LAB | lab(89.09, -5.61, 58.80) |
| CIE-LCH | lch(89.09, 59.07, 95.45°) |
| OKLab | oklab(90.4% -0.0187 0.1369) |
| OKLCH | oklch(90.4% 0.138 97.8) |
| XYZ | xyz(68.0764, 74.3534, 24.9502) |
| Luminance | 0.7435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.13
Yellow Tan
#FFE36E
ΔE00 1.32
Pale Gold
#FDDE6C
ΔE00 1.93
Dull Yellow
#EEDC5B
ΔE00 2.51
Light Gold
#FDDC5C
ΔE00 2.71
Sandy
#F1DA7A
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E06C #6C84F8
analogous
#F89A6C #F8E06C #CAF86C
triadic
#F8E06C #6CF8E0 #E06CF8
tetradic
#F8E06C #6CF89A #6C84F8 #F86CCA
square
#F8E06C #6CF89A #6C84F8 #F86CCA
split-complementary
#F8E06C #6CCAF8 #9A6CF8
monochromatic
#DFBB0B #F5D432 #F8E06C #FBECA6 #FEF9E1
Accessibility & contrast
On white
1.32
#F8E06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.87
#F8E06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E06C
15.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E06C | 1.00 | 1.32 | 15.87 | 15.87 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DB60
Deuteranopia (green-blind)
#FAE371
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f8e06c; /* rgb */ color: rgb(248, 224, 108); /* oklch */ color: oklch(90.4% 0.138 97.8);
Tailwind
colors: {
custom: {
50: '#fde999',
500: '#f8e06c',
950: '#000000',
},
}SCSS
$custom: #f8e06c; $custom-light: #fde999; $custom-dark: #000000;
JSON
{
"hex": "#f8e06c",
"rgb": {
"r": 248,
"g": 224,
"b": 108
},
"hsl": {
"h": 49.714,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.90404,
"c": 0.13814,
"h": 97.8
},
"luminance": 0.7435
}Semantic roles & 50–950 ramp
primary
#F8E06C
secondary
#3651D2
accent
#27E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F