#F0DC6F#F0DC6F
#F0DC6F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.131 H 99.1°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DC6F |
|---|---|
| RGB | rgb(240, 220, 111) |
| HSL | hsl(51, 81%, 69%) |
| HSV | hsv(51, 54%, 94%) |
| CMYK | cmyk(0%, 8.3%, 53.8%, 5.9%) |
| CIE-LAB | lab(87.42, -6.61, 55.32) |
| CIE-LCH | lch(87.42, 55.71, 96.82°) |
| OKLab | oklab(88.93% -0.0208 0.1298) |
| OKLCH | oklch(88.93% 0.131 99.1) |
| XYZ | xyz(64.3998, 70.8619, 25.3213) |
| Luminance | 0.7086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.06
Dull Yellow
#EEDC5B
ΔE00 2.45
Sand Yellow
#FCE166
ΔE00 2.74
Yellow Tan
#FFE36E
ΔE00 2.89
Pale Gold
#FDDE6C
ΔE00 3.07
Wheat (survey)
#FBDD7E
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DC6F #6F83F0
analogous
#F09C6F #F0DC6F #C4F06F
triadic
#F0DC6F #6FF0DC #DC6FF0
tetradic
#F0DC6F #6FF09C #6F83F0 #F06FC4
square
#F0DC6F #6FF09C #6F83F0 #F06FC4
split-complementary
#F0DC6F #6FC4F0 #9C6FF0
monochromatic
#CFB216 #EACF38 #F0DC6F #F6E9A6 #FCF7DE
Accessibility & contrast
On white
1.38
#F0DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#F0DC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DC6F
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DC6F | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f0dc6f; /* rgb */ color: rgb(240, 220, 111); /* oklch */ color: oklch(88.9% 0.131 99.1);
Tailwind
colors: {
custom: {
50: '#f7e69b',
500: '#f0dc6f',
950: '#000000',
},
}SCSS
$custom: #f0dc6f; $custom-light: #f7e69b; $custom-dark: #000000;
JSON
{
"hex": "#f0dc6f",
"rgb": {
"r": 240,
"g": 220,
"b": 111
},
"hsl": {
"h": 50.698,
"s": 81.132,
"l": 68.824
},
"oklch": {
"l": 0.88928,
"c": 0.13145,
"h": 99.1
},
"luminance": 0.70859
}Semantic roles & 50–950 ramp
primary
#F0DC6F
secondary
#3A50C9
accent
#29DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F