#F0DD6F#F0DD6F
#F0DD6F is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.132 H 99.7°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DD6F |
|---|---|
| RGB | rgb(240, 221, 111) |
| HSL | hsl(51, 81%, 69%) |
| HSV | hsv(51, 54%, 94%) |
| CMYK | cmyk(0%, 7.9%, 53.8%, 5.9%) |
| CIE-LAB | lab(87.67, -7.11, 55.61) |
| CIE-LCH | lch(87.67, 56.07, 97.29°) |
| OKLab | oklab(89.13% -0.0222 0.1305) |
| OKLCH | oklch(89.13% 0.132 99.7) |
| XYZ | xyz(64.6631, 71.3884, 25.4090) |
| Luminance | 0.7139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.31
Sandy
#F1DA7A
ΔE00 2.33
Sand Yellow
#FCE166
ΔE00 2.78
Yellow Tan
#FFE36E
ΔE00 2.95
Pale Gold
#FDDE6C
ΔE00 3.28
Wheat (survey)
#FBDD7E
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DD6F #6F82F0
analogous
#F09D6F #F0DD6F #C3F06F
triadic
#F0DD6F #6FF0DD #DD6FF0
tetradic
#F0DD6F #6FF09D #6F82F0 #F06FC3
square
#F0DD6F #6FF09D #6F82F0 #F06FC3
split-complementary
#F0DD6F #6FC3F0 #9D6FF0
monochromatic
#CFB416 #EAD038 #F0DD6F #F6EAA6 #FCF7DE
Accessibility & contrast
On white
1.37
#F0DD6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.28
#F0DD6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DD6F
15.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DD6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DD6F | 1.00 | 1.37 | 15.28 | 15.28 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f0dd6f; /* rgb */ color: rgb(240, 221, 111); /* oklch */ color: oklch(89.1% 0.132 99.7);
Tailwind
colors: {
custom: {
50: '#f7e79b',
500: '#f0dd6f',
950: '#000000',
},
}SCSS
$custom: #f0dd6f; $custom-light: #f7e79b; $custom-dark: #000000;
JSON
{
"hex": "#f0dd6f",
"rgb": {
"r": 240,
"g": 221,
"b": 111
},
"hsl": {
"h": 51.163,
"s": 81.132,
"l": 68.824
},
"oklch": {
"l": 0.8913,
"c": 0.13233,
"h": 99.7
},
"luminance": 0.71386
}Semantic roles & 50–950 ramp
primary
#F0DD6F
secondary
#3A4FC9
accent
#27DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F