#F0DC6E#F0DC6E
#F0DC6E is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.132 H 99.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DC6E |
|---|---|
| RGB | rgb(240, 220, 110) |
| HSL | hsl(51, 81%, 69%) |
| HSV | hsv(51, 54%, 94%) |
| CMYK | cmyk(0%, 8.3%, 54.2%, 5.9%) |
| CIE-LAB | lab(87.41, -6.69, 55.77) |
| CIE-LCH | lch(87.41, 56.17, 96.84°) |
| OKLab | oklab(88.92% -0.0211 0.1307) |
| OKLCH | oklch(88.92% 0.132 99.2) |
| XYZ | xyz(64.3451, 70.8400, 25.0329) |
| Luminance | 0.7084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.18
Dull Yellow
#EEDC5B
ΔE00 2.33
Sand Yellow
#FCE166
ΔE00 2.67
Yellow Tan
#FFE36E
ΔE00 2.86
Pale Gold
#FDDE6C
ΔE00 3.06
Wheat (survey)
#FBDD7E
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DC6E #6E82F0
analogous
#F09B6E #F0DC6E #C3F06E
triadic
#F0DC6E #6EF0DC #DC6EF0
tetradic
#F0DC6E #6EF09B #6E82F0 #F06EC3
square
#F0DC6E #6EF09B #6E82F0 #F06EC3
split-complementary
#F0DC6E #6EC3F0 #9B6EF0
monochromatic
#CEB215 #EACF37 #F0DC6E #F6E9A5 #FBF7DD
Accessibility & contrast
On white
1.38
#F0DC6E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#F0DC6E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DC6E
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DC6E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DC6E | 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)
#EED764
Deuteranopia (green-blind)
#F4DE73
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f0dc6e; /* rgb */ color: rgb(240, 220, 110); /* oklch */ color: oklch(88.9% 0.132 99.2);
Tailwind
colors: {
custom: {
50: '#f7e69a',
500: '#f0dc6e',
950: '#000000',
},
}SCSS
$custom: #f0dc6e; $custom-light: #f7e69a; $custom-dark: #000000;
JSON
{
"hex": "#f0dc6e",
"rgb": {
"r": 240,
"g": 220,
"b": 110
},
"hsl": {
"h": 50.769,
"s": 81.25,
"l": 68.627
},
"oklch": {
"l": 0.88916,
"c": 0.13237,
"h": 99.2
},
"luminance": 0.70837
}Semantic roles & 50–950 ramp
primary
#F0DC6E
secondary
#3950C9
accent
#29DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F