#F7E866#F7E866
#F7E866 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.150 H 102.8°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E866 |
|---|---|
| RGB | rgb(247, 232, 102) |
| HSL | hsl(54, 90%, 68%) |
| HSV | hsv(54, 59%, 97%) |
| CMYK | cmyk(0%, 6.1%, 58.7%, 3.1%) |
| CIE-LAB | lab(90.98, -10.44, 63.57) |
| CIE-LCH | lch(90.98, 64.42, 99.32°) |
| OKLab | oklab(91.87% -0.0331 0.1464) |
| OKLCH | oklch(91.87% 0.15 102.8) |
| XYZ | xyz(69.6151, 78.4493, 24.0430) |
| Luminance | 0.7845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.48
Sandy Yellow
#FDEE73
ΔE00 1.56
Dull Yellow
#EEDC5B
ΔE00 2.66
Sand Yellow
#FCE166
ΔE00 3.38
Straw
#FCF679
ΔE00 3.58
Yellow Tan
#FFE36E
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E866 #6675F7
analogous
#F79F66 #F7E866 #BDF766
triadic
#F7E866 #66F7E8 #E866F7
tetradic
#F7E866 #66F79F #6675F7 #F766BD
square
#F7E866 #66F79F #6675F7 #F766BD
split-complementary
#F7E866 #66BDF7 #9F66F7
monochromatic
#D7C20B #F4DF2C #F7E866 #FAF1A0 #FDF9DA
Accessibility & contrast
On white
1.26
#F7E866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.69
#F7E866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E866
16.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E866 | 1.00 | 1.26 | 16.69 | 16.69 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE158
Deuteranopia (green-blind)
#FFE86D
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f7e866; /* rgb */ color: rgb(247, 232, 102); /* oklch */ color: oklch(91.9% 0.150 102.8);
Tailwind
colors: {
custom: {
50: '#fdef96',
500: '#f7e866',
950: '#000000',
},
}SCSS
$custom: #f7e866; $custom-light: #fdef96; $custom-dark: #000000;
JSON
{
"hex": "#f7e866",
"rgb": {
"r": 247,
"g": 232,
"b": 102
},
"hsl": {
"h": 53.793,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.91869,
"c": 0.15011,
"h": 102.8
},
"luminance": 0.78447
}Semantic roles & 50–950 ramp
primary
#F7E866
secondary
#3141D0
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F