#F0F663#F0F663
#F0F663 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.2% C 0.167 H 111.4°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F663 |
|---|---|
| RGB | rgb(240, 246, 99) |
| HSL | hsl(62, 89%, 68%) |
| HSV | hsv(62, 60%, 96%) |
| CMYK | cmyk(2.4%, 0%, 59.8%, 3.5%) |
| CIE-LAB | lab(94.03, -20.28, 68.02) |
| CIE-LCH | lch(94.03, 70.98, 106.60°) |
| OKLab | oklab(94.15% -0.061 0.1556) |
| OKLCH | oklch(94.15% 0.167 111.4) |
| XYZ | xyz(71.1450, 85.3393, 24.5263) |
| Luminance | 0.8534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.36
Pastel Yellow
#FFFE71
ΔE00 2.47
Butter Yellow
#FFFD74
ΔE00 2.59
Custard
#FFFD78
ΔE00 2.77
Light Yellow
#FFFE7A
ΔE00 2.83
Faded Yellow
#FEFF7F
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F663 #6963F6
analogous
#F6B263 #F0F663 #A6F663
triadic
#F0F663 #63F0F6 #F663F0
tetradic
#F0F663 #63F6B2 #6963F6 #F663A6
square
#F0F663 #63F6B2 #6963F6 #F663A6
split-complementary
#F0F663 #63A6F6 #B263F6
monochromatic
#CAD20C #EAF329 #F0F663 #F6F99D #FBFDD7
Accessibility & contrast
On white
1.16
#F0F663 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#F0F663 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F663
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F663 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F663 | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC52
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f663; /* rgb */ color: rgb(240, 246, 99); /* oklch */ color: oklch(94.2% 0.167 111.4);
Tailwind
colors: {
custom: {
50: '#f8f995',
500: '#f0f663',
950: '#000000',
},
}SCSS
$custom: #f0f663; $custom-light: #f8f995; $custom-dark: #000000;
JSON
{
"hex": "#f0f663",
"rgb": {
"r": 240,
"g": 246,
"b": 99
},
"hsl": {
"h": 62.449,
"s": 89.091,
"l": 67.647
},
"oklch": {
"l": 0.94152,
"c": 0.16715,
"h": 111.4
},
"luminance": 0.85338
}Semantic roles & 50–950 ramp
primary
#F0F663
secondary
#3630CE
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F