#F0E566#F0E566
#F0E566 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.7% C 0.148 H 104.3°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E566 |
|---|---|
| RGB | rgb(240, 229, 102) |
| HSL | hsl(55, 82%, 67%) |
| HSV | hsv(55, 58%, 94%) |
| CMYK | cmyk(0%, 4.6%, 57.5%, 5.9%) |
| CIE-LAB | lab(89.64, -11.78, 61.91) |
| CIE-LCH | lch(89.64, 63.02, 100.78°) |
| OKLab | oklab(90.66% -0.0366 0.143) |
| OKLCH | oklch(90.66% 0.148 104.3) |
| XYZ | xyz(66.3550, 75.5255, 23.6504) |
| Luminance | 0.7552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.16
Sandy Yellow
#FDEE73
ΔE00 2.37
Dull Yellow
#EEDC5B
ΔE00 2.54
Straw
#FCF679
ΔE00 3.70
Sand Yellow
#FCE166
ΔE00 4.16
Yellow Tan
#FFE36E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E566 #6671F0
analogous
#F0A066 #F0E566 #B6F066
triadic
#F0E566 #66F0E5 #E566F0
tetradic
#F0E566 #66F0A0 #6671F0 #F066B6
square
#F0E566 #66F0A0 #6671F0 #F066B6
split-complementary
#F0E566 #66B6F0 #A066F0
monochromatic
#C8BA14 #EBDC2E #F0E566 #F5EE9E #FBF8D5
Accessibility & contrast
On white
1.30
#F0E566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.10
#F0E566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E566
16.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E566 | 1.00 | 1.30 | 16.10 | 16.10 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE58
Deuteranopia (green-blind)
#FBE46D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f0e566; /* rgb */ color: rgb(240, 229, 102); /* oklch */ color: oklch(90.7% 0.148 104.3);
Tailwind
colors: {
custom: {
50: '#f8ed96',
500: '#f0e566',
950: '#000000',
},
}SCSS
$custom: #f0e566; $custom-light: #f8ed96; $custom-dark: #000000;
JSON
{
"hex": "#f0e566",
"rgb": {
"r": 240,
"g": 229,
"b": 102
},
"hsl": {
"h": 55.217,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.90661,
"c": 0.14761,
"h": 104.3
},
"luminance": 0.75523
}Semantic roles & 50–950 ramp
primary
#F0E566
secondary
#3541C5
accent
#18DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F