#F0E66A#F0E66A
#F0E66A is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.145 H 104.7°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E66A |
|---|---|
| RGB | rgb(240, 230, 106) |
| HSL | hsl(56, 82%, 68%) |
| HSV | hsv(56, 56%, 94%) |
| CMYK | cmyk(0%, 4.2%, 55.8%, 5.9%) |
| CIE-LAB | lab(89.93, -11.99, 60.48) |
| CIE-LCH | lch(89.93, 61.66, 101.21°) |
| OKLab | oklab(90.91% -0.0367 0.1404) |
| OKLCH | oklch(90.91% 0.145 104.7) |
| XYZ | xyz(66.8356, 76.1617, 24.8129) |
| Luminance | 0.7616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.23
Sandy Yellow
#FDEE73
ΔE00 2.28
Dull Yellow
#EEDC5B
ΔE00 2.93
Straw
#FCF679
ΔE00 3.40
Sand Yellow
#FCE166
ΔE00 4.42
Manilla
#FFFA86
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E66A #6A74F0
analogous
#F0A36A #F0E66A #B7F06A
triadic
#F0E66A #6AF0E6 #E66AF0
tetradic
#F0E66A #6AF0A3 #6A74F0 #F06AB7
square
#F0E66A #6AF0A3 #6A74F0 #F06AB7
split-complementary
#F0E66A #6AB7F0 #A36AF0
monochromatic
#CBBE14 #EADD32 #F0E66A #F6EFA2 #FBF9D9
Accessibility & contrast
On white
1.29
#F0E66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.23
#F0E66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E66A
16.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E66A | 1.00 | 1.29 | 16.23 | 16.23 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DF5D
Deuteranopia (green-blind)
#FBE570
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f0e66a; /* rgb */ color: rgb(240, 230, 106); /* oklch */ color: oklch(90.9% 0.145 104.7);
Tailwind
colors: {
custom: {
50: '#f8ed98',
500: '#f0e66a',
950: '#000000',
},
}SCSS
$custom: #f0e66a; $custom-light: #f8ed98; $custom-dark: #000000;
JSON
{
"hex": "#f0e66a",
"rgb": {
"r": 240,
"g": 230,
"b": 106
},
"hsl": {
"h": 55.522,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.90909,
"c": 0.14515,
"h": 104.7
},
"luminance": 0.7616
}Semantic roles & 50–950 ramp
primary
#F0E66A
secondary
#3641C8
accent
#17DE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F