#F0F566#F0F566
#F0F566 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.164 H 111.0°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F566 |
|---|---|
| RGB | rgb(240, 245, 102) |
| HSL | hsl(62, 88%, 68%) |
| HSV | hsv(62, 58%, 96%) |
| CMYK | cmyk(2%, 0%, 58.4%, 3.9%) |
| CIE-LAB | lab(93.79, -19.60, 66.51) |
| CIE-LCH | lch(93.79, 69.34, 106.42°) |
| OKLab | oklab(93.97% -0.0588 0.1528) |
| OKLCH | oklch(93.97% 0.164 111) |
| XYZ | xyz(70.9878, 84.7910, 25.1946) |
| Luminance | 0.8479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.45
Butter Yellow
#FFFD74
ΔE00 2.50
Canary
#FDFF63
ΔE00 2.59
Custard
#FFFD78
ΔE00 2.62
Light Yellow
#FFFE7A
ΔE00 2.69
Faded Yellow
#FEFF7F
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F566 #6B66F5
analogous
#F5B266 #F0F566 #A8F566
triadic
#F0F566 #66F0F5 #F566F0
tetradic
#F0F566 #66F5B2 #6B66F5 #F566A8
square
#F0F566 #66F5B2 #6B66F5 #F566A8
split-complementary
#F0F566 #66A8F5 #B266F5
monochromatic
#CCD30E #EAF12D #F0F566 #F6F99F #FBFDD9
Accessibility & contrast
On white
1.17
#F0F566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#F0F566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F566
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F566 | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f0f566; /* rgb */ color: rgb(240, 245, 102); /* oklch */ color: oklch(94.0% 0.164 111.0);
Tailwind
colors: {
custom: {
50: '#f8f897',
500: '#f0f566',
950: '#000000',
},
}SCSS
$custom: #f0f566; $custom-light: #f8f897; $custom-dark: #000000;
JSON
{
"hex": "#f0f566",
"rgb": {
"r": 240,
"g": 245,
"b": 102
},
"hsl": {
"h": 62.098,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.93972,
"c": 0.16372,
"h": 111
},
"luminance": 0.84789
}Semantic roles & 50–950 ramp
primary
#F0F566
secondary
#3731CE
accent
#01E409
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F