#F0D460#F0D460
#F0D460 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.138 H 95.8°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D460 |
|---|---|
| RGB | rgb(240, 212, 96) |
| HSL | hsl(48, 83%, 66%) |
| HSV | hsv(48, 60%, 94%) |
| CMYK | cmyk(0%, 11.7%, 60%, 5.9%) |
| CIE-LAB | lab(85.23, -3.66, 59.63) |
| CIE-LCH | lch(85.23, 59.74, 93.51°) |
| OKLab | oklab(87.15% -0.014 0.1374) |
| OKLCH | oklch(87.15% 0.138 95.8) |
| XYZ | xyz(61.5926, 66.4597, 20.6478) |
| Luminance | 0.6646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.67
Maize
#F4D054
ΔE00 2.33
Pale Gold
#FDDE6C
ΔE00 2.54
Light Gold
#FDDC5C
ΔE00 2.62
Sand Yellow
#FCE166
ΔE00 2.99
Sandy
#F1DA7A
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D460 #607CF0
analogous
#F08C60 #F0D460 #C4F060
triadic
#F0D460 #60F0D4 #D460F0
tetradic
#F0D460 #60F08C #607CF0 #F060C4
square
#F0D460 #60F08C #607CF0 #F060C4
split-complementary
#F0D460 #60C4F0 #8C60F0
monochromatic
#C3A112 #EBC528 #F0D460 #F5E398 #FBF2D0
Accessibility & contrast
On white
1.47
#F0D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.29
#F0D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D460
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D460 | 1.00 | 1.47 | 14.29 | 14.29 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D054
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d460; /* rgb */ color: rgb(240, 212, 96); /* oklch */ color: oklch(87.1% 0.138 95.8);
Tailwind
colors: {
custom: {
50: '#f8e091',
500: '#f0d460',
950: '#000000',
},
}SCSS
$custom: #f0d460; $custom-light: #f8e091; $custom-dark: #000000;
JSON
{
"hex": "#f0d460",
"rgb": {
"r": 240,
"g": 212,
"b": 96
},
"hsl": {
"h": 48.333,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.87147,
"c": 0.1381,
"h": 95.8
},
"luminance": 0.66457
}Semantic roles & 50–950 ramp
primary
#F0D460
secondary
#334FC1
accent
#30DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F