#F0DF6C#F0DF6C
#F0DF6C is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.137 H 101.0°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DF6C |
|---|---|
| RGB | rgb(240, 223, 108) |
| HSL | hsl(52, 81%, 68%) |
| HSV | hsv(52, 55%, 94%) |
| CMYK | cmyk(0%, 7.1%, 55%, 5.9%) |
| CIE-LAB | lab(88.15, -8.35, 57.55) |
| CIE-LCH | lch(88.15, 58.15, 98.26°) |
| OKLab | oklab(89.5% -0.0261 0.1343) |
| OKLCH | oklch(89.5% 0.137 101) |
| XYZ | xyz(65.0318, 72.3858, 24.7307) |
| Luminance | 0.7238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.81
Sand Yellow
#FCE166
ΔE00 2.85
Yellow Tan
#FFE36E
ΔE00 3.16
Sandy
#F1DA7A
ΔE00 3.20
Sandy Yellow
#FDEE73
ΔE00 3.30
Pale Gold
#FDDE6C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DF6C #6C7DF0
analogous
#F09D6C #F0DF6C #BFF06C
triadic
#F0DF6C #6CF0DF #DF6CF0
tetradic
#F0DF6C #6CF09D #6C7DF0 #F06CBF
square
#F0DF6C #6CF09D #6C7DF0 #F06CBF
split-complementary
#F0DF6C #6CBFF0 #9D6CF0
monochromatic
#CDB515 #EAD334 #F0DF6C #F6EBA4 #FBF7DB
Accessibility & contrast
On white
1.36
#F0DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.48
#F0DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DF6C
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DF6C | 1.00 | 1.36 | 15.48 | 15.48 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D961
Deuteranopia (green-blind)
#F6E071
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f0df6c; /* rgb */ color: rgb(240, 223, 108); /* oklch */ color: oklch(89.5% 0.137 101.0);
Tailwind
colors: {
custom: {
50: '#f8e899',
500: '#f0df6c',
950: '#000000',
},
}SCSS
$custom: #f0df6c; $custom-light: #f8e899; $custom-dark: #000000;
JSON
{
"hex": "#f0df6c",
"rgb": {
"r": 240,
"g": 223,
"b": 108
},
"hsl": {
"h": 52.273,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.89501,
"c": 0.13683,
"h": 101
},
"luminance": 0.72383
}Semantic roles & 50–950 ramp
primary
#F0DF6C
secondary
#384AC8
accent
#23DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F