#F0D466#F0D466
#F0D466 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.133 H 95.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D466 |
|---|---|
| RGB | rgb(240, 212, 102) |
| HSL | hsl(48, 82%, 67%) |
| HSV | hsv(48, 58%, 94%) |
| CMYK | cmyk(0%, 11.7%, 57.5%, 5.9%) |
| CIE-LAB | lab(85.29, -3.24, 56.99) |
| CIE-LCH | lch(85.29, 57.09, 93.25°) |
| OKLab | oklab(87.21% -0.0121 0.1325) |
| OKLCH | oklch(87.21% 0.133 95.2) |
| XYZ | xyz(61.8794, 66.5744, 22.1585) |
| Luminance | 0.6657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.77
Pale Gold
#FDDE6C
ΔE00 2.50
Sandy
#F1DA7A
ΔE00 2.61
Maize
#F4D054
ΔE00 2.63
Light Gold
#FDDC5C
ΔE00 3.01
Wheat (survey)
#FBDD7E
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D466 #6682F0
analogous
#F08F66 #F0D466 #C7F066
triadic
#F0D466 #66F0D4 #D466F0
tetradic
#F0D466 #66F08F #6682F0 #F066C7
square
#F0D466 #66F08F #6682F0 #F066C7
split-complementary
#F0D466 #66C7F0 #8F66F0
monochromatic
#C8A314 #EBC42E #F0D466 #F5E49E #FBF3D5
Accessibility & contrast
On white
1.47
#F0D466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.31
#F0D466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D466
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D466 | 1.00 | 1.47 | 14.31 | 14.31 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EED96B
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d466; /* rgb */ color: rgb(240, 212, 102); /* oklch */ color: oklch(87.2% 0.133 95.2);
Tailwind
colors: {
custom: {
50: '#f8e095',
500: '#f0d466',
950: '#000000',
},
}SCSS
$custom: #f0d466; $custom-light: #f8e095; $custom-dark: #000000;
JSON
{
"hex": "#f0d466",
"rgb": {
"r": 240,
"g": 212,
"b": 102
},
"hsl": {
"h": 47.826,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.87212,
"c": 0.13302,
"h": 95.2
},
"luminance": 0.66572
}Semantic roles & 50–950 ramp
primary
#F0D466
secondary
#3552C5
accent
#33DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F