#F0F062#F0F062
#F0F062 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.162 H 109.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F062 |
|---|---|
| RGB | rgb(240, 240, 98) |
| HSL | hsl(60, 83%, 66%) |
| HSV | hsv(60, 59%, 94%) |
| CMYK | cmyk(0%, 0%, 59.2%, 5.9%) |
| CIE-LAB | lab(92.46, -17.45, 66.72) |
| CIE-LCH | lch(92.46, 68.97, 104.66°) |
| OKLab | oklab(92.89% -0.0531 0.1527) |
| OKLCH | oklch(92.89% 0.162 109.2) |
| XYZ | xyz(69.3019, 81.7292, 23.6776) |
| Luminance | 0.8173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.69
Yellowish
#FAEE66
ΔE00 2.83
Butter Yellow
#FFFD74
ΔE00 2.87
Pastel Yellow
#FFFE71
ΔE00 2.94
Custard
#FFFD78
ΔE00 3.00
Off Yellow
#F1F33F
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F062 #6262F0
analogous
#F0A962 #F0F062 #A9F062
triadic
#F0F062 #62F0F0 #F062F0
tetradic
#F0F062 #62F0A9 #6262F0 #F062A9
square
#F0F062 #62F0A9 #6262F0 #F062A9
split-complementary
#F0F062 #62A9F0 #A962F0
monochromatic
#C5C513 #EBEB2A #F0F062 #F5F59A #FBFBD2
Accessibility & contrast
On white
1.21
#F0F062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.35
#F0F062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F062
17.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F062 | 1.00 | 1.21 | 17.35 | 17.35 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #f0f062; /* rgb */ color: rgb(240, 240, 98); /* oklch */ color: oklch(92.9% 0.162 109.2);
Tailwind
colors: {
custom: {
50: '#f8f494',
500: '#f0f062',
950: '#000000',
},
}SCSS
$custom: #f0f062; $custom-light: #f8f494; $custom-dark: #000000;
JSON
{
"hex": "#f0f062",
"rgb": {
"r": 240,
"g": 240,
"b": 98
},
"hsl": {
"h": 60,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.92893,
"c": 0.16171,
"h": 109.2
},
"luminance": 0.81727
}Semantic roles & 50–950 ramp
primary
#F0F062
secondary
#3434C2
accent
#07DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F