#F0F660#F0F660
#F0F660 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.169 H 111.4°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F660 |
|---|---|
| RGB | rgb(240, 246, 96) |
| HSL | hsl(62, 89%, 67%) |
| HSV | hsv(62, 61%, 96%) |
| CMYK | cmyk(2.4%, 0%, 61%, 3.5%) |
| CIE-LAB | lab(94.00, -20.48, 69.21) |
| CIE-LCH | lch(94.00, 72.18, 106.48°) |
| OKLab | oklab(94.13% -0.0619 0.1578) |
| OKLCH | oklch(94.13% 0.169 111.4) |
| XYZ | xyz(71.0042, 85.2830, 23.7850) |
| Luminance | 0.8528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.25
Pastel Yellow
#FFFE71
ΔE00 2.53
Butter Yellow
#FFFD74
ΔE00 2.69
Off Yellow
#F1F33F
ΔE00 2.88
Custard
#FFFD78
ΔE00 2.91
Light Yellow
#FFFE7A
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F660 #6660F6
analogous
#F6B160 #F0F660 #A5F660
triadic
#F0F660 #60F0F6 #F660F0
tetradic
#F0F660 #60F6B1 #6660F6 #F660A5
square
#F0F660 #60F6B1 #6660F6 #F660A5
split-complementary
#F0F660 #60A5F6 #B160F6
monochromatic
#C8D00C #EBF326 #F0F660 #F5F99A #FBFDD4
Accessibility & contrast
On white
1.16
#F0F660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#F0F660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F660
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F660 | 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)
#FFEC4E
Deuteranopia (green-blind)
#FFF069
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f660; /* rgb */ color: rgb(240, 246, 96); /* oklch */ color: oklch(94.1% 0.169 111.4);
Tailwind
colors: {
custom: {
50: '#f8f993',
500: '#f0f660',
950: '#000000',
},
}SCSS
$custom: #f0f660; $custom-light: #f8f993; $custom-dark: #000000;
JSON
{
"hex": "#f0f660",
"rgb": {
"r": 240,
"g": 246,
"b": 96
},
"hsl": {
"h": 62.4,
"s": 89.286,
"l": 67.059
},
"oklch": {
"l": 0.94125,
"c": 0.16945,
"h": 111.4
},
"luminance": 0.85281
}Semantic roles & 50–950 ramp
primary
#F0F660
secondary
#352FCB
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F