#F0D561#F0D561
#F0D561 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.138 H 96.3°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D561 |
|---|---|
| RGB | rgb(240, 213, 97) |
| HSL | hsl(49, 83%, 66%) |
| HSV | hsv(49, 60%, 94%) |
| CMYK | cmyk(0%, 11.2%, 59.6%, 5.9%) |
| CIE-LAB | lab(85.49, -4.10, 59.48) |
| CIE-LCH | lch(85.49, 59.62, 93.94°) |
| OKLab | oklab(87.36% -0.0151 0.1372) |
| OKLCH | oklch(87.36% 0.138 96.3) |
| XYZ | xyz(61.8897, 66.9797, 20.9754) |
| Luminance | 0.6698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.89
Pale Gold
#FDDE6C
ΔE00 2.47
Light Gold
#FDDC5C
ΔE00 2.61
Maize
#F4D054
ΔE00 2.63
Sand Yellow
#FCE166
ΔE00 2.78
Sandy
#F1DA7A
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D561 #617CF0
analogous
#F08D61 #F0D561 #C4F061
triadic
#F0D561 #61F0D5 #D561F0
tetradic
#F0D561 #61F08D #617CF0 #F061C4
square
#F0D561 #61F08D #617CF0 #F061C4
split-complementary
#F0D561 #61C4F0 #8D61F0
monochromatic
#C4A213 #EBC629 #F0D561 #F5E499 #FBF3D1
Accessibility & contrast
On white
1.46
#F0D561 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.40
#F0D561 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D561
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D561 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D561 | 1.00 | 1.46 | 14.40 | 14.40 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D155
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d561; /* rgb */ color: rgb(240, 213, 97); /* oklch */ color: oklch(87.4% 0.138 96.3);
Tailwind
colors: {
custom: {
50: '#f8e192',
500: '#f0d561',
950: '#000000',
},
}SCSS
$custom: #f0d561; $custom-light: #f8e192; $custom-dark: #000000;
JSON
{
"hex": "#f0d561",
"rgb": {
"r": 240,
"g": 213,
"b": 97
},
"hsl": {
"h": 48.671,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.87359,
"c": 0.13803,
"h": 96.3
},
"luminance": 0.66977
}Semantic roles & 50–950 ramp
primary
#F0D561
secondary
#344EC2
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F