#F0D864#F0D864
#F0D864 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.138 H 97.7°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D864 |
|---|---|
| RGB | rgb(240, 216, 100) |
| HSL | hsl(50, 82%, 67%) |
| HSV | hsv(50, 58%, 94%) |
| CMYK | cmyk(0%, 10%, 58.3%, 5.9%) |
| CIE-LAB | lab(86.29, -5.41, 59.03) |
| CIE-LCH | lch(86.29, 59.28, 95.24°) |
| OKLab | oklab(88% -0.0186 0.1366) |
| OKLCH | oklch(88% 0.138 97.7) |
| XYZ | xyz(62.7938, 68.5598, 21.9799) |
| Luminance | 0.6856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.27
Sand Yellow
#FCE166
ΔE00 2.34
Pale Gold
#FDDE6C
ΔE00 2.51
Light Mustard
#F7D560
ΔE00 2.71
Sandy
#F1DA7A
ΔE00 2.75
Yellow Tan
#FFE36E
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D864 #647CF0
analogous
#F09264 #F0D864 #C2F064
triadic
#F0D864 #64F0D8 #D864F0
tetradic
#F0D864 #64F092 #647CF0 #F064C2
square
#F0D864 #64F092 #647CF0 #F064C2
split-complementary
#F0D864 #64C2F0 #9264F0
monochromatic
#C6A813 #EBCA2C #F0D864 #F5E69C #FBF4D4
Accessibility & contrast
On white
1.43
#F0D864 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.71
#F0D864 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D864
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D864 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D864 | 1.00 | 1.43 | 14.71 | 14.71 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD358
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f0d864; /* rgb */ color: rgb(240, 216, 100); /* oklch */ color: oklch(88.0% 0.138 97.7);
Tailwind
colors: {
custom: {
50: '#f8e394',
500: '#f0d864',
950: '#000000',
},
}SCSS
$custom: #f0d864; $custom-light: #f8e394; $custom-dark: #000000;
JSON
{
"hex": "#f0d864",
"rgb": {
"r": 240,
"g": 216,
"b": 100
},
"hsl": {
"h": 49.714,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.87995,
"c": 0.13786,
"h": 97.7
},
"luminance": 0.68557
}Semantic roles & 50–950 ramp
primary
#F0D864
secondary
#354DC4
accent
#2CDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F