#F0D560#F0D560
#F0D560 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.139 H 96.4°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D560 |
|---|---|
| RGB | rgb(240, 213, 96) |
| HSL | hsl(49, 83%, 66%) |
| HSV | hsv(49, 60%, 94%) |
| CMYK | cmyk(0%, 11.2%, 60%, 5.9%) |
| CIE-LAB | lab(85.48, -4.17, 59.91) |
| CIE-LCH | lch(85.48, 60.06, 93.98°) |
| OKLab | oklab(87.35% -0.0154 0.138) |
| OKLCH | oklch(87.35% 0.139 96.4) |
| XYZ | xyz(61.8433, 66.9612, 20.7313) |
| Luminance | 0.6696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.91
Pale Gold
#FDDE6C
ΔE00 2.49
Light Gold
#FDDC5C
ΔE00 2.57
Maize
#F4D054
ΔE00 2.60
Sand Yellow
#FCE166
ΔE00 2.75
Dull Yellow
#EEDC5B
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D560 #607BF0
analogous
#F08D60 #F0D560 #C3F060
triadic
#F0D560 #60F0D5 #D560F0
tetradic
#F0D560 #60F08D #607BF0 #F060C3
square
#F0D560 #60F08D #607BF0 #F060C3
split-complementary
#F0D560 #60C3F0 #8D60F0
monochromatic
#C3A212 #EBC628 #F0D560 #F5E498 #FBF3D0
Accessibility & contrast
On white
1.46
#F0D560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#F0D560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D560
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D560 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D154
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d560; /* rgb */ color: rgb(240, 213, 96); /* oklch */ color: oklch(87.3% 0.139 96.4);
Tailwind
colors: {
custom: {
50: '#f8e191',
500: '#f0d560',
950: '#000000',
},
}SCSS
$custom: #f0d560; $custom-light: #f8e191; $custom-dark: #000000;
JSON
{
"hex": "#f0d560",
"rgb": {
"r": 240,
"g": 213,
"b": 96
},
"hsl": {
"h": 48.75,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.87348,
"c": 0.13886,
"h": 96.4
},
"luminance": 0.66958
}Semantic roles & 50–950 ramp
primary
#F0D560
secondary
#334EC1
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F