#F0DF66#F0DF66
#F0DF66 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.4% C 0.142 H 101.4°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DF66 |
|---|---|
| RGB | rgb(240, 223, 102) |
| HSL | hsl(53, 82%, 67%) |
| HSV | hsv(53, 58%, 94%) |
| CMYK | cmyk(0%, 7.1%, 57.5%, 5.9%) |
| CIE-LAB | lab(88.09, -8.79, 60.18) |
| CIE-LCH | lch(88.09, 60.82, 98.31°) |
| OKLab | oklab(89.44% -0.028 0.1393) |
| OKLCH | oklch(89.44% 0.142 101.4) |
| XYZ | xyz(64.7234, 72.2624, 23.1065) |
| Luminance | 0.7226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.18
Sand Yellow
#FCE166
ΔE00 2.73
Sandy Yellow
#FDEE73
ΔE00 3.23
Yellow Tan
#FFE36E
ΔE00 3.23
Yellowish
#FAEE66
ΔE00 3.60
Sandy
#F1DA7A
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DF66 #6677F0
analogous
#F09A66 #F0DF66 #BCF066
triadic
#F0DF66 #66F0DF #DF66F0
tetradic
#F0DF66 #66F09A #6677F0 #F066BC
square
#F0DF66 #66F09A #6677F0 #F066BC
split-complementary
#F0DF66 #66BCF0 #9A66F0
monochromatic
#C8B214 #EBD32E #F0DF66 #F5EB9E #FBF6D5
Accessibility & contrast
On white
1.36
#F0DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.45
#F0DF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DF66
15.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DF66 | 1.00 | 1.36 | 15.45 | 15.45 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D959
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f0df66; /* rgb */ color: rgb(240, 223, 102); /* oklch */ color: oklch(89.4% 0.142 101.4);
Tailwind
colors: {
custom: {
50: '#f8e895',
500: '#f0df66',
950: '#000000',
},
}SCSS
$custom: #f0df66; $custom-light: #f8e895; $custom-dark: #000000;
JSON
{
"hex": "#f0df66",
"rgb": {
"r": 240,
"g": 223,
"b": 102
},
"hsl": {
"h": 52.609,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.89435,
"c": 0.14209,
"h": 101.4
},
"luminance": 0.7226
}Semantic roles & 50–950 ramp
primary
#F0DF66
secondary
#3547C5
accent
#22DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F