#F8E46E#F8E46E
#F8E46E is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.2% C 0.140 H 99.8°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E46E |
|---|---|
| RGB | rgb(248, 228, 110) |
| HSL | hsl(51, 91%, 70%) |
| HSV | hsv(51, 56%, 97%) |
| CMYK | cmyk(0%, 8.1%, 55.6%, 2.7%) |
| CIE-LAB | lab(90.12, -7.47, 59.08) |
| CIE-LCH | lch(90.12, 59.55, 97.21°) |
| OKLab | oklab(91.23% -0.0238 0.1377) |
| OKLCH | oklch(91.23% 0.14 99.8) |
| XYZ | xyz(69.2717, 76.5718, 25.8798) |
| Luminance | 0.7657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.95
Yellow Tan
#FFE36E
ΔE00 2.12
Dull Yellow
#EEDC5B
ΔE00 2.37
Sandy Yellow
#FDEE73
ΔE00 2.40
Pale Gold
#FDDE6C
ΔE00 3.15
Yellowish
#FAEE66
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E46E #6E82F8
analogous
#F89F6E #F8E46E #C7F86E
triadic
#F8E46E #6EF8E4 #E46EF8
tetradic
#F8E46E #6EF89F #6E82F8 #F86EC7
square
#F8E46E #6EF89F #6E82F8 #F86EC7
split-complementary
#F8E46E #6EC7F8 #9F6EF8
monochromatic
#E1C20B #F5D934 #F8E46E #FBEFA8 #FEFAE2
Accessibility & contrast
On white
1.29
#F8E46E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.31
#F8E46E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E46E
16.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E46E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E46E | 1.00 | 1.29 | 16.31 | 16.31 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE62
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f8e46e; /* rgb */ color: rgb(248, 228, 110); /* oklch */ color: oklch(91.2% 0.140 99.8);
Tailwind
colors: {
custom: {
50: '#fdec9b',
500: '#f8e46e',
950: '#000000',
},
}SCSS
$custom: #f8e46e; $custom-light: #fdec9b; $custom-dark: #000000;
JSON
{
"hex": "#f8e46e",
"rgb": {
"r": 248,
"g": 228,
"b": 110
},
"hsl": {
"h": 51.304,
"s": 90.789,
"l": 70.196
},
"oklch": {
"l": 0.91231,
"c": 0.13974,
"h": 99.8
},
"luminance": 0.76569
}Semantic roles & 50–950 ramp
primary
#F8E46E
secondary
#384ED3
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F