#F0D86C#F0D86C
#F0D86C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.131 H 97.0°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D86C |
|---|---|
| RGB | rgb(240, 216, 108) |
| HSL | hsl(49, 81%, 68%) |
| HSV | hsv(49, 55%, 94%) |
| CMYK | cmyk(0%, 10%, 55%, 5.9%) |
| CIE-LAB | lab(86.37, -4.82, 55.48) |
| CIE-LCH | lch(86.37, 55.69, 94.97°) |
| OKLab | oklab(88.09% -0.016 0.1299) |
| OKLCH | oklch(88.09% 0.131 97) |
| XYZ | xyz(63.2002, 68.7224, 24.1202) |
| Luminance | 0.6872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.76
Pale Gold
#FDDE6C
ΔE00 2.49
Sand Yellow
#FCE166
ΔE00 2.79
Light Mustard
#F7D560
ΔE00 2.83
Yellow Tan
#FFE36E
ΔE00 2.92
Wheat (survey)
#FBDD7E
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D86C #6C84F0
analogous
#F0966C #F0D86C #C6F06C
triadic
#F0D86C #6CF0D8 #D86CF0
tetradic
#F0D86C #6CF096 #6C84F0 #F06CC6
square
#F0D86C #6CF096 #6C84F0 #F06CC6
split-complementary
#F0D86C #6CC6F0 #966CF0
monochromatic
#CDAB15 #EAC934 #F0D86C #F6E7A4 #FBF5DB
Accessibility & contrast
On white
1.42
#F0D86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F0D86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D86C
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D86C | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD362
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f0d86c; /* rgb */ color: rgb(240, 216, 108); /* oklch */ color: oklch(88.1% 0.131 97.0);
Tailwind
colors: {
custom: {
50: '#f8e399',
500: '#f0d86c',
950: '#000000',
},
}SCSS
$custom: #f0d86c; $custom-light: #f8e399; $custom-dark: #000000;
JSON
{
"hex": "#f0d86c",
"rgb": {
"r": 240,
"g": 216,
"b": 108
},
"hsl": {
"h": 49.091,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.88085,
"c": 0.13083,
"h": 97
},
"luminance": 0.6872
}Semantic roles & 50–950 ramp
primary
#F0D86C
secondary
#3852C8
accent
#2FDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F