#F0DC66#F0DC66
#F0DC66 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.139 H 99.8°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DC66 |
|---|---|
| RGB | rgb(240, 220, 102) |
| HSL | hsl(51, 82%, 67%) |
| HSV | hsv(51, 58%, 94%) |
| CMYK | cmyk(0%, 8.3%, 57.5%, 5.9%) |
| CIE-LAB | lab(87.33, -7.29, 59.31) |
| CIE-LCH | lch(87.33, 59.76, 97.01°) |
| OKLab | oklab(88.83% -0.0237 0.1374) |
| OKLCH | oklch(88.83% 0.139 99.8) |
| XYZ | xyz(63.9290, 70.6736, 22.8417) |
| Luminance | 0.7067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.36
Sand Yellow
#FCE166
ΔE00 2.31
Yellow Tan
#FFE36E
ΔE00 2.81
Sandy
#F1DA7A
ΔE00 3.11
Pale Gold
#FDDE6C
ΔE00 3.14
Light Gold
#FDDC5C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DC66 #667AF0
analogous
#F09766 #F0DC66 #BFF066
triadic
#F0DC66 #66F0DC #DC66F0
tetradic
#F0DC66 #66F097 #667AF0 #F066BF
square
#F0DC66 #66F097 #667AF0 #F066BF
split-complementary
#F0DC66 #66BFF0 #9766F0
monochromatic
#C8AE14 #EBCF2E #F0DC66 #F5E99E #FBF5D5
Accessibility & contrast
On white
1.39
#F0DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.13
#F0DC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DC66
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DC66 | 1.00 | 1.39 | 15.13 | 15.13 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED65A
Deuteranopia (green-blind)
#F4DE6C
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f0dc66; /* rgb */ color: rgb(240, 220, 102); /* oklch */ color: oklch(88.8% 0.139 99.8);
Tailwind
colors: {
custom: {
50: '#f8e695',
500: '#f0dc66',
950: '#000000',
},
}SCSS
$custom: #f0dc66; $custom-light: #f8e695; $custom-dark: #000000;
JSON
{
"hex": "#f0dc66",
"rgb": {
"r": 240,
"g": 220,
"b": 102
},
"hsl": {
"h": 51.304,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.88825,
"c": 0.13947,
"h": 99.8
},
"luminance": 0.70671
}Semantic roles & 50–950 ramp
primary
#F0DC66
secondary
#354AC5
accent
#26DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F