#F8E66A#F8E66A
#F8E66A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.6% C 0.145 H 101.1°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E66A |
|---|---|
| RGB | rgb(248, 230, 106) |
| HSL | hsl(52, 91%, 69%) |
| HSV | hsv(52, 57%, 97%) |
| CMYK | cmyk(0%, 7.3%, 57.3%, 2.7%) |
| CIE-LAB | lab(90.59, -8.76, 61.41) |
| CIE-LCH | lch(90.59, 62.03, 98.12°) |
| OKLab | oklab(91.59% -0.028 0.1422) |
| OKLCH | oklch(91.59% 0.145 101.1) |
| XYZ | xyz(69.6122, 77.5934, 24.9431) |
| Luminance | 0.7759 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.80
Dull Yellow
#EEDC5B
ΔE00 2.33
Yellowish
#FAEE66
ΔE00 2.41
Sand Yellow
#FCE166
ΔE00 2.48
Yellow Tan
#FFE36E
ΔE00 2.80
Pale Gold
#FDDE6C
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E66A #6A7CF8
analogous
#F89F6A #F8E66A #C3F86A
triadic
#F8E66A #6AF8E6 #E66AF8
tetradic
#F8E66A #6AF89F #6A7CF8 #F86AC3
square
#F8E66A #6AF89F #6A7CF8 #F86AC3
split-complementary
#F8E66A #6AC3F8 #9F6AF8
monochromatic
#DDC20A #F5DC30 #F8E66A #FBF0A4 #FDFADF
Accessibility & contrast
On white
1.27
#F8E66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.52
#F8E66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E66A
16.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E66A | 1.00 | 1.27 | 16.52 | 16.52 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FEE770
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f8e66a; /* rgb */ color: rgb(248, 230, 106); /* oklch */ color: oklch(91.6% 0.145 101.1);
Tailwind
colors: {
custom: {
50: '#fded98',
500: '#f8e66a',
950: '#000000',
},
}SCSS
$custom: #f8e66a; $custom-light: #fded98; $custom-dark: #000000;
JSON
{
"hex": "#f8e66a",
"rgb": {
"r": 248,
"g": 230,
"b": 106
},
"hsl": {
"h": 52.394,
"s": 91.026,
"l": 69.412
},
"oklch": {
"l": 0.91591,
"c": 0.14495,
"h": 101.1
},
"luminance": 0.77591
}Semantic roles & 50–950 ramp
primary
#F8E66A
secondary
#3448D2
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F