#F0D564#F0D564
#F0D564 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.136 H 96.0°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D564 |
|---|---|
| RGB | rgb(240, 213, 100) |
| HSL | hsl(48, 82%, 67%) |
| HSV | hsv(48, 58%, 94%) |
| CMYK | cmyk(0%, 11.2%, 58.3%, 5.9%) |
| CIE-LAB | lab(85.52, -3.89, 58.17) |
| CIE-LCH | lch(85.52, 58.30, 93.83°) |
| OKLab | oklab(87.39% -0.0142 0.1348) |
| OKLCH | oklch(87.39% 0.136 96) |
| XYZ | xyz(62.0322, 67.0367, 21.7260) |
| Luminance | 0.6703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.90
Pale Gold
#FDDE6C
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 2.72
Maize
#F4D054
ΔE00 2.74
Light Gold
#FDDC5C
ΔE00 2.79
Sand Yellow
#FCE166
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D564 #647FF0
analogous
#F08F64 #F0D564 #C5F064
triadic
#F0D564 #64F0D5 #D564F0
tetradic
#F0D564 #64F08F #647FF0 #F064C5
square
#F0D564 #64F08F #647FF0 #F064C5
split-complementary
#F0D564 #64C5F0 #8F64F0
monochromatic
#C6A413 #EBC62C #F0D564 #F5E49C #FBF3D4
Accessibility & contrast
On white
1.46
#F0D564 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#F0D564 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D564
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D564 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D564 | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D158
Deuteranopia (green-blind)
#EFDA69
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d564; /* rgb */ color: rgb(240, 213, 100); /* oklch */ color: oklch(87.4% 0.136 96.0);
Tailwind
colors: {
custom: {
50: '#f8e194',
500: '#f0d564',
950: '#000000',
},
}SCSS
$custom: #f0d564; $custom-light: #f8e194; $custom-dark: #000000;
JSON
{
"hex": "#f0d564",
"rgb": {
"r": 240,
"g": 213,
"b": 100
},
"hsl": {
"h": 48.429,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.87391,
"c": 0.1355,
"h": 96
},
"luminance": 0.67034
}Semantic roles & 50–950 ramp
primary
#F0D564
secondary
#3550C4
accent
#30DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F