#F8E36C#F8E36C
#F8E36C is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.141 H 99.4°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E36C |
|---|---|
| RGB | rgb(248, 227, 108) |
| HSL | hsl(51, 91%, 70%) |
| HSV | hsv(51, 56%, 97%) |
| CMYK | cmyk(0%, 8.5%, 56.5%, 2.7%) |
| CIE-LAB | lab(89.85, -7.12, 59.67) |
| CIE-LCH | lch(89.85, 60.09, 96.80°) |
| OKLab | oklab(91.01% -0.023 0.1387) |
| OKLCH | oklch(91.01% 0.141 99.4) |
| XYZ | xyz(68.8898, 75.9801, 25.2213) |
| Luminance | 0.7598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.64
Yellow Tan
#FFE36E
ΔE00 1.90
Dull Yellow
#EEDC5B
ΔE00 2.22
Sandy Yellow
#FDEE73
ΔE00 2.68
Pale Gold
#FDDE6C
ΔE00 2.88
Light Gold
#FDDC5C
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E36C #6C81F8
analogous
#F89D6C #F8E36C #C7F86C
triadic
#F8E36C #6CF8E3 #E36CF8
tetradic
#F8E36C #6CF89D #6C81F8 #F86CC7
square
#F8E36C #6CF89D #6C81F8 #F86CC7
split-complementary
#F8E36C #6CC7F8 #9D6CF8
monochromatic
#DFBF0B #F5D832 #F8E36C #FBEEA6 #FEF9E1
Accessibility & contrast
On white
1.30
#F8E36C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.20
#F8E36C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E36C
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E36C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E36C | 1.00 | 1.30 | 16.20 | 16.20 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD60
Deuteranopia (green-blind)
#FCE572
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f8e36c; /* rgb */ color: rgb(248, 227, 108); /* oklch */ color: oklch(91.0% 0.141 99.4);
Tailwind
colors: {
custom: {
50: '#fdeb9a',
500: '#f8e36c',
950: '#000000',
},
}SCSS
$custom: #f8e36c; $custom-light: #fdeb9a; $custom-dark: #000000;
JSON
{
"hex": "#f8e36c",
"rgb": {
"r": 248,
"g": 227,
"b": 108
},
"hsl": {
"h": 51,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.91007,
"c": 0.14064,
"h": 99.4
},
"luminance": 0.75977
}Semantic roles & 50–950 ramp
primary
#F8E36C
secondary
#364DD2
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F