#F0F662#F0F662
#F0F662 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.168 H 111.4°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F662 |
|---|---|
| RGB | rgb(240, 246, 98) |
| HSL | hsl(62, 89%, 67%) |
| HSV | hsv(62, 60%, 96%) |
| CMYK | cmyk(2.4%, 0%, 60.2%, 3.5%) |
| CIE-LAB | lab(94.02, -20.35, 68.42) |
| CIE-LCH | lch(94.02, 71.38, 106.56°) |
| OKLab | oklab(94.14% -0.0613 0.1563) |
| OKLCH | oklch(94.14% 0.168 111.4) |
| XYZ | xyz(71.0975, 85.3203, 24.2761) |
| Luminance | 0.8532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.32
Pastel Yellow
#FFFE71
ΔE00 2.49
Butter Yellow
#FFFD74
ΔE00 2.62
Custard
#FFFD78
ΔE00 2.81
Light Yellow
#FFFE7A
ΔE00 2.88
Off Yellow
#F1F33F
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F662 #6862F6
analogous
#F6B262 #F0F662 #A6F662
triadic
#F0F662 #62F0F6 #F662F0
tetradic
#F0F662 #62F6B2 #6862F6 #F662A6
square
#F0F662 #62F6B2 #6862F6 #F662A6
split-complementary
#F0F662 #62A6F6 #B262F6
monochromatic
#CAD20C #EAF328 #F0F662 #F6F99C #FBFDD6
Accessibility & contrast
On white
1.16
#F0F662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#F0F662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F662
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F662 | 1.00 | 1.16 | 18.06 | 18.06 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f662; /* rgb */ color: rgb(240, 246, 98); /* oklch */ color: oklch(94.1% 0.168 111.4);
Tailwind
colors: {
custom: {
50: '#f8f994',
500: '#f0f662',
950: '#000000',
},
}SCSS
$custom: #f0f662; $custom-light: #f8f994; $custom-dark: #000000;
JSON
{
"hex": "#f0f662",
"rgb": {
"r": 240,
"g": 246,
"b": 98
},
"hsl": {
"h": 62.432,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.94143,
"c": 0.16792,
"h": 111.4
},
"luminance": 0.85319
}Semantic roles & 50–950 ramp
primary
#F0F662
secondary
#362FCD
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F