#F8E46A#F8E46A
#F8E46A is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.143 H 100.1°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E46A |
|---|---|
| RGB | rgb(248, 228, 106) |
| HSL | hsl(52, 91%, 69%) |
| HSV | hsv(52, 57%, 97%) |
| CMYK | cmyk(0%, 8.1%, 57.3%, 2.7%) |
| CIE-LAB | lab(90.08, -7.76, 60.83) |
| CIE-LCH | lch(90.08, 61.33, 97.27°) |
| OKLab | oklab(91.19% -0.0251 0.141) |
| OKLCH | oklch(91.19% 0.143 100.1) |
| XYZ | xyz(69.0589, 76.4866, 24.7586) |
| Luminance | 0.7648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.88
Dull Yellow
#EEDC5B
ΔE00 2.12
Yellow Tan
#FFE36E
ΔE00 2.23
Sandy Yellow
#FDEE73
ΔE00 2.36
Yellowish
#FAEE66
ΔE00 3.06
Pale Gold
#FDDE6C
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E46A #6A7EF8
analogous
#F89D6A #F8E46A #C5F86A
triadic
#F8E46A #6AF8E4 #E46AF8
tetradic
#F8E46A #6AF89D #6A7EF8 #F86AC5
square
#F8E46A #6AF89D #6A7EF8 #F86AC5
split-complementary
#F8E46A #6AC5F8 #9D6AF8
monochromatic
#DDC00A #F5D930 #F8E46A #FBEFA4 #FDF9DF
Accessibility & contrast
On white
1.29
#F8E46A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.30
#F8E46A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E46A
16.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E46A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E46A | 1.00 | 1.29 | 16.30 | 16.30 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE5D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f8e46a; /* rgb */ color: rgb(248, 228, 106); /* oklch */ color: oklch(91.2% 0.143 100.1);
Tailwind
colors: {
custom: {
50: '#fdec98',
500: '#f8e46a',
950: '#000000',
},
}SCSS
$custom: #f8e46a; $custom-light: #fdec98; $custom-dark: #000000;
JSON
{
"hex": "#f8e46a",
"rgb": {
"r": 248,
"g": 228,
"b": 106
},
"hsl": {
"h": 51.549,
"s": 91.026,
"l": 69.412
},
"oklch": {
"l": 0.91187,
"c": 0.14322,
"h": 100.1
},
"luminance": 0.76484
}Semantic roles & 50–950 ramp
primary
#F8E46A
secondary
#344AD2
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F