#F0F968#F0F968
#F0F968 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.166 H 112.5°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F968 |
|---|---|
| RGB | rgb(240, 249, 104) |
| HSL | hsl(64, 92%, 69%) |
| HSV | hsv(64, 58%, 98%) |
| CMYK | cmyk(3.6%, 0%, 58.2%, 2.4%) |
| CIE-LAB | lab(94.86, -21.38, 66.84) |
| CIE-LCH | lch(94.86, 70.18, 107.74°) |
| OKLab | oklab(94.83% -0.0636 0.1538) |
| OKLCH | oklch(94.83% 0.166 112.5) |
| XYZ | xyz(72.3113, 87.2776, 26.1310) |
| Luminance | 0.8728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.50
Pastel Yellow
#FFFE71
ΔE00 2.58
Butter Yellow
#FFFD74
ΔE00 2.73
Light Yellow
#FFFE7A
ΔE00 2.79
Faded Yellow
#FEFF7F
ΔE00 2.82
Custard
#FFFD78
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F968 #7168F9
analogous
#F9BA68 #F0F968 #A8F968
triadic
#F0F968 #68F0F9 #F968F0
tetradic
#F0F968 #68F9BA #7168F9 #F968A8
square
#F0F968 #68F9BA #7168F9 #F968A8
split-complementary
#F0F968 #68A8F9 #BA68F9
monochromatic
#D1DE09 #EAF72D #F0F968 #F6FBA3 #FCFEDE
Accessibility & contrast
On white
1.14
#F0F968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.46
#F0F968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F968
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F968 | 1.00 | 1.14 | 18.46 | 18.46 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF271
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f0f968; /* rgb */ color: rgb(240, 249, 104); /* oklch */ color: oklch(94.8% 0.166 112.5);
Tailwind
colors: {
custom: {
50: '#f8fb98',
500: '#f0f968',
950: '#000000',
},
}SCSS
$custom: #f0f968; $custom-light: #f8fb98; $custom-dark: #000000;
JSON
{
"hex": "#f0f968",
"rgb": {
"r": 240,
"g": 249,
"b": 104
},
"hsl": {
"h": 63.724,
"s": 92.357,
"l": 69.216
},
"oklch": {
"l": 0.94827,
"c": 0.16639,
"h": 112.5
},
"luminance": 0.87276
}Semantic roles & 50–950 ramp
primary
#F0F968
secondary
#3C32D3
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F