#F0F466#F0F466
#F0F466 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.8% C 0.163 H 110.7°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F466 |
|---|---|
| RGB | rgb(240, 244, 102) |
| HSL | hsl(62, 87%, 68%) |
| HSV | hsv(62, 58%, 96%) |
| CMYK | cmyk(1.6%, 0%, 58.2%, 4.3%) |
| CIE-LAB | lab(93.53, -19.12, 66.23) |
| CIE-LCH | lch(93.53, 68.93, 106.10°) |
| OKLab | oklab(93.76% -0.0574 0.1522) |
| OKLCH | oklch(93.76% 0.163 110.7) |
| XYZ | xyz(70.6861, 84.1876, 25.0941) |
| Luminance | 0.8419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.49
Butter Yellow
#FFFD74
ΔE00 2.50
Custard
#FFFD78
ΔE00 2.62
Canary
#FDFF63
ΔE00 2.70
Light Yellow
#FFFE7A
ΔE00 2.71
Straw
#FCF679
ΔE00 2.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F466 #6A66F4
analogous
#F4B166 #F0F466 #A9F466
triadic
#F0F466 #66F0F4 #F466F0
tetradic
#F0F466 #66F4B1 #6A66F4 #F466A9
square
#F0F466 #66F4B1 #6A66F4 #F466A9
split-complementary
#F0F466 #66A9F4 #B166F4
monochromatic
#CBD10F #EAF02D #F0F466 #F6F89F #FBFCD8
Accessibility & contrast
On white
1.18
#F0F466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.84
#F0F466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F466
17.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F466 | 1.00 | 1.18 | 17.84 | 17.84 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f0f466; /* rgb */ color: rgb(240, 244, 102); /* oklch */ color: oklch(93.8% 0.163 110.7);
Tailwind
colors: {
custom: {
50: '#f8f797',
500: '#f0f466',
950: '#000000',
},
}SCSS
$custom: #f0f466; $custom-light: #f8f797; $custom-dark: #000000;
JSON
{
"hex": "#f0f466",
"rgb": {
"r": 240,
"g": 244,
"b": 102
},
"hsl": {
"h": 61.69,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.93763,
"c": 0.16267,
"h": 110.7
},
"luminance": 0.84186
}Semantic roles & 50–950 ramp
primary
#F0F466
secondary
#3632CC
accent
#02E309
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F