#F4E166#F4E166
#F4E166 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.144 H 100.6°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F4E166 |
|---|---|
| RGB | rgb(244, 225, 102) |
| HSL | hsl(52, 87%, 68%) |
| HSV | hsv(52, 58%, 96%) |
| CMYK | cmyk(0%, 7.8%, 58.2%, 4.3%) |
| CIE-LAB | lab(88.94, -8.17, 61.23) |
| CIE-LCH | lch(88.94, 61.77, 97.60°) |
| OKLab | oklab(90.19% -0.0265 0.1415) |
| OKLCH | oklch(90.19% 0.144 100.6) |
| XYZ | xyz(66.6342, 74.0455, 23.3501) |
| Luminance | 0.7404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.40
Sand Yellow
#FCE166
ΔE00 2.11
Yellow Tan
#FFE36E
ΔE00 2.63
Sandy Yellow
#FDEE73
ΔE00 2.87
Yellowish
#FAEE66
ΔE00 3.33
Pale Gold
#FDDE6C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4E166 #6679F4
analogous
#F49A66 #F4E166 #C0F466
triadic
#F4E166 #66F4E1 #E166F4
tetradic
#F4E166 #66F49A #6679F4 #F466C0
square
#F4E166 #66F49A #6679F4 #F466C0
split-complementary
#F4E166 #66C0F4 #9A66F4
monochromatic
#D1B70F #F0D62D #F4E166 #F8EC9F #FCF7D8
Accessibility & contrast
On white
1.33
#F4E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.81
#F4E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4E166
15.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4E166 | 1.00 | 1.33 | 15.81 | 15.81 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f4e166; /* rgb */ color: rgb(244, 225, 102); /* oklch */ color: oklch(90.2% 0.144 100.6);
Tailwind
colors: {
custom: {
50: '#fbea96',
500: '#f4e166',
950: '#000000',
},
}SCSS
$custom: #f4e166; $custom-light: #fbea96; $custom-dark: #000000;
JSON
{
"hex": "#f4e166",
"rgb": {
"r": 244,
"g": 225,
"b": 102
},
"hsl": {
"h": 51.972,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.90189,
"c": 0.14391,
"h": 100.6
},
"luminance": 0.74043
}Semantic roles & 50–950 ramp
primary
#F4E166
secondary
#3247CC
accent
#20E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F