#F0D462#F0D462
#F0D462 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.136 H 95.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D462 |
|---|---|
| RGB | rgb(240, 212, 98) |
| HSL | hsl(48, 83%, 66%) |
| HSV | hsv(48, 59%, 94%) |
| CMYK | cmyk(0%, 11.7%, 59.2%, 5.9%) |
| CIE-LAB | lab(85.25, -3.52, 58.76) |
| CIE-LCH | lch(85.25, 58.87, 93.43°) |
| OKLab | oklab(87.17% -0.0133 0.1358) |
| OKLCH | oklch(87.17% 0.136 95.6) |
| XYZ | xyz(61.6858, 66.4970, 21.1389) |
| Luminance | 0.6649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.67
Maize
#F4D054
ΔE00 2.40
Pale Gold
#FDDE6C
ΔE00 2.50
Light Gold
#FDDC5C
ΔE00 2.73
Sandy
#F1DA7A
ΔE00 3.00
Sand Yellow
#FCE166
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D462 #627EF0
analogous
#F08D62 #F0D462 #C5F062
triadic
#F0D462 #62F0D4 #D462F0
tetradic
#F0D462 #62F08D #627EF0 #F062C5
square
#F0D462 #62F08D #627EF0 #F062C5
split-complementary
#F0D462 #62C5F0 #8D62F0
monochromatic
#C5A213 #EBC52A #F0D462 #F5E39A #FBF3D2
Accessibility & contrast
On white
1.47
#F0D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#F0D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D462
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D462 | 1.00 | 1.47 | 14.30 | 14.30 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d462; /* rgb */ color: rgb(240, 212, 98); /* oklch */ color: oklch(87.2% 0.136 95.6);
Tailwind
colors: {
custom: {
50: '#f8e092',
500: '#f0d462',
950: '#000000',
},
}SCSS
$custom: #f0d462; $custom-light: #f8e092; $custom-dark: #000000;
JSON
{
"hex": "#f0d462",
"rgb": {
"r": 240,
"g": 212,
"b": 98
},
"hsl": {
"h": 48.169,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.87168,
"c": 0.13643,
"h": 95.6
},
"luminance": 0.66494
}Semantic roles & 50–950 ramp
primary
#F0D462
secondary
#3450C2
accent
#31DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F