#F0DC80#F0DC80
#F0DC80 is a very light, moderate yellow. Relative luminance 0.713; OKLCH L 89.1% C 0.115 H 97.4°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DC80 |
|---|---|
| RGB | rgb(240, 220, 128) |
| HSL | hsl(49, 79%, 72%) |
| HSV | hsv(49, 47%, 94%) |
| CMYK | cmyk(0%, 8.3%, 46.7%, 5.9%) |
| CIE-LAB | lab(87.62, -5.15, 47.46) |
| CIE-LCH | lch(87.62, 47.74, 96.19°) |
| OKLab | oklab(89.15% -0.0148 0.114) |
| OKLCH | oklch(89.15% 0.115 97.4) |
| XYZ | xyz(65.4265, 71.2726, 30.7285) |
| Luminance | 0.7127 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.06
Wheat (survey)
#FBDD7E
ΔE00 2.83
Khaki (CSS)
#F0E68C
ΔE00 3.35
Pale Gold
#FDDE6C
ΔE00 4.07
Yellow Tan
#FFE36E
ΔE00 4.18
Sand (survey)
#E2CA76
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DC80 #8094F0
analogous
#F0A480 #F0DC80 #CCF080
triadic
#F0DC80 #80F0DC #DC80F0
tetradic
#F0DC80 #80F0A4 #8094F0 #F080CC
square
#F0DC80 #80F0A4 #8094F0 #F080CC
split-complementary
#F0DC80 #80CCF0 #A480F0
monochromatic
#DCB91A #EACD49 #F0DC80 #F6EBB7 #FCF7E4
Accessibility & contrast
On white
1.38
#F0DC80 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.25
#F0DC80 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DC80
15.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DC80 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DC80 | 1.00 | 1.38 | 15.25 | 15.25 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD878
Deuteranopia (green-blind)
#F2DF84
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f0dc80; /* rgb */ color: rgb(240, 220, 128); /* oklch */ color: oklch(89.1% 0.115 97.4);
Tailwind
colors: {
custom: {
50: '#f7e6a6',
500: '#f0dc80',
950: '#000000',
},
}SCSS
$custom: #f0dc80; $custom-light: #f7e6a6; $custom-dark: #000000;
JSON
{
"hex": "#f0dc80",
"rgb": {
"r": 240,
"g": 220,
"b": 128
},
"hsl": {
"h": 49.286,
"s": 78.873,
"l": 72.157
},
"oklch": {
"l": 0.8915,
"c": 0.11493,
"h": 97.4
},
"luminance": 0.7127
}Semantic roles & 50–950 ramp
primary
#F0DC80
secondary
#4A61CB
accent
#30DB0A
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480