#F0D565#F0D565
#F0D565 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.135 H 95.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D565 |
|---|---|
| RGB | rgb(240, 213, 101) |
| HSL | hsl(48, 82%, 67%) |
| HSV | hsv(48, 58%, 94%) |
| CMYK | cmyk(0%, 11.2%, 57.9%, 5.9%) |
| CIE-LAB | lab(85.53, -3.82, 57.73) |
| CIE-LCH | lch(85.53, 57.85, 93.78°) |
| OKLab | oklab(87.4% -0.0139 0.1339) |
| OKLCH | oklch(87.4% 0.135 95.9) |
| XYZ | xyz(62.0809, 67.0562, 21.9825) |
| Luminance | 0.6705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.92
Pale Gold
#FDDE6C
ΔE00 2.41
Sandy
#F1DA7A
ΔE00 2.62
Maize
#F4D054
ΔE00 2.79
Light Gold
#FDDC5C
ΔE00 2.86
Sand Yellow
#FCE166
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D565 #6580F0
analogous
#F08F65 #F0D565 #C6F065
triadic
#F0D565 #65F0D5 #D565F0
tetradic
#F0D565 #65F08F #6580F0 #F065C6
square
#F0D565 #65F08F #6580F0 #F065C6
split-complementary
#F0D565 #65C6F0 #8F65F0
monochromatic
#C7A413 #EBC62D #F0D565 #F5E49D #FBF3D5
Accessibility & contrast
On white
1.46
#F0D565 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#F0D565 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D565
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D565 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D565 | 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)
#E8D15A
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d565; /* rgb */ color: rgb(240, 213, 101); /* oklch */ color: oklch(87.4% 0.135 95.9);
Tailwind
colors: {
custom: {
50: '#f8e194',
500: '#f0d565',
950: '#000000',
},
}SCSS
$custom: #f0d565; $custom-light: #f8e194; $custom-dark: #000000;
JSON
{
"hex": "#f0d565",
"rgb": {
"r": 240,
"g": 213,
"b": 101
},
"hsl": {
"h": 48.345,
"s": 82.249,
"l": 66.863
},
"oklch": {
"l": 0.87402,
"c": 0.13465,
"h": 95.9
},
"luminance": 0.67053
}Semantic roles & 50–950 ramp
primary
#F0D565
secondary
#3551C4
accent
#31DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F