#F0F462#F0F462
#F0F462 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.7% C 0.166 H 110.7°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F462 |
|---|---|
| RGB | rgb(240, 244, 98) |
| HSL | hsl(62, 87%, 67%) |
| HSV | hsv(62, 60%, 96%) |
| CMYK | cmyk(1.6%, 0%, 59.8%, 4.3%) |
| CIE-LAB | lab(93.50, -19.39, 67.85) |
| CIE-LCH | lch(93.50, 70.57, 105.94°) |
| OKLab | oklab(93.73% -0.0586 0.1551) |
| OKLCH | oklch(93.73% 0.166 110.7) |
| XYZ | xyz(70.4925, 84.1102, 24.0744) |
| Luminance | 0.8411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.53
Canary
#FDFF63
ΔE00 2.53
Butter Yellow
#FFFD74
ΔE00 2.59
Custard
#FFFD78
ΔE00 2.77
Light Yellow
#FFFE7A
ΔE00 2.88
Off Yellow
#F1F33F
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F462 #6662F4
analogous
#F4AF62 #F0F462 #A7F462
triadic
#F0F462 #62F0F4 #F462F0
tetradic
#F0F462 #62F4AF #6662F4 #F462A7
square
#F0F462 #62F4AF #6662F4 #F462A7
split-complementary
#F0F462 #62A7F4 #AF62F4
monochromatic
#C8CD0E #EBF029 #F0F462 #F5F89B #FBFCD4
Accessibility & contrast
On white
1.18
#F0F462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.82
#F0F462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F462
17.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F462 | 1.00 | 1.18 | 17.82 | 17.82 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFEE6B
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f0f462; /* rgb */ color: rgb(240, 244, 98); /* oklch */ color: oklch(93.7% 0.166 110.7);
Tailwind
colors: {
custom: {
50: '#f8f794',
500: '#f0f462',
950: '#000000',
},
}SCSS
$custom: #f0f462; $custom-light: #f8f794; $custom-dark: #000000;
JSON
{
"hex": "#f0f462",
"rgb": {
"r": 240,
"g": 244,
"b": 98
},
"hsl": {
"h": 61.644,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.93726,
"c": 0.16583,
"h": 110.7
},
"luminance": 0.84108
}Semantic roles & 50–950 ramp
primary
#F0F462
secondary
#3531C9
accent
#02E308
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F