#F7E166#F7E166
#F7E166 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.144 H 99.3°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E166 |
|---|---|
| RGB | rgb(247, 225, 102) |
| HSL | hsl(51, 90%, 68%) |
| HSV | hsv(51, 59%, 97%) |
| CMYK | cmyk(0%, 8.9%, 58.7%, 3.1%) |
| CIE-LAB | lab(89.20, -6.95, 61.58) |
| CIE-LCH | lch(89.20, 61.97, 96.44°) |
| OKLab | oklab(90.45% -0.0232 0.1422) |
| OKLCH | oklch(90.45% 0.144 99.3) |
| XYZ | xyz(67.6839, 74.5867, 23.3993) |
| Luminance | 0.7458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.32
Dull Yellow
#EEDC5B
ΔE00 1.79
Yellow Tan
#FFE36E
ΔE00 1.91
Pale Gold
#FDDE6C
ΔE00 2.73
Light Gold
#FDDC5C
ΔE00 2.99
Sandy Yellow
#FDEE73
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E166 #667CF7
analogous
#F79866 #F7E166 #C4F766
triadic
#F7E166 #66F7E1 #E166F7
tetradic
#F7E166 #66F798 #667CF7 #F766C4
square
#F7E166 #66F798 #667CF7 #F766C4
split-complementary
#F7E166 #66C4F7 #9866F7
monochromatic
#D7B80B #F4D62C #F7E166 #FAECA0 #FDF8DA
Accessibility & contrast
On white
1.32
#F7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.92
#F7E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E166
15.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E166 | 1.00 | 1.32 | 15.92 | 15.92 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#FAE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f7e166; /* rgb */ color: rgb(247, 225, 102); /* oklch */ color: oklch(90.5% 0.144 99.3);
Tailwind
colors: {
custom: {
50: '#fdea96',
500: '#f7e166',
950: '#000000',
},
}SCSS
$custom: #f7e166; $custom-light: #fdea96; $custom-dark: #000000;
JSON
{
"hex": "#f7e166",
"rgb": {
"r": 247,
"g": 225,
"b": 102
},
"hsl": {
"h": 50.897,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.90452,
"c": 0.14402,
"h": 99.3
},
"luminance": 0.74584
}Semantic roles & 50–950 ramp
primary
#F7E166
secondary
#3149D0
accent
#23E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F