#F0FC8A#F0FC8A
#F0FC8A is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.8% C 0.139 H 114.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F0FC8A |
|---|---|
| RGB | rgb(240, 252, 138) |
| HSL | hsl(66, 95%, 76%) |
| HSV | hsv(66, 45%, 99%) |
| CMYK | cmyk(4.8%, 0%, 45.2%, 1.2%) |
| CIE-LAB | lab(95.99, -19.99, 52.97) |
| CIE-LCH | lch(95.99, 56.62, 110.68°) |
| OKLab | oklab(95.85% -0.0564 0.1269) |
| OKLCH | oklch(95.85% 0.139 114) |
| XYZ | xyz(75.3340, 89.9821, 37.4396) |
| Luminance | 0.8998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.24
Pale Yellow
#FFFF84
ΔE00 3.35
Faded Yellow
#FEFF7F
ΔE00 3.48
Butter
#FFFF81
ΔE00 3.54
Banana (survey)
#FFFF7E
ΔE00 3.75
Manilla
#FFFA86
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0FC8A #968AFC
analogous
#FCCF8A #F0FC8A #B7FC8A
triadic
#F0FC8A #8AF0FC #FC8AF0
tetradic
#F0FC8A #8AFCCF #968AFC #FC8AB7
square
#F0FC8A #8AFCCF #968AFC #FC8AB7
split-complementary
#F0FC8A #8AB7FC #CF8AFC
monochromatic
#E1F913 #E8FA4E #F0FC8A #F8FEC6 #FBFEE1
Accessibility & contrast
On white
1.11
#F0FC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.00
#F0FC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0FC8A
19.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0FC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0FC8A | 1.00 | 1.11 | 19.00 | 19.00 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#FCF0E1
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #f0fc8a; /* rgb */ color: rgb(240, 252, 138); /* oklch */ color: oklch(95.8% 0.139 114.0);
Tailwind
colors: {
custom: {
50: '#f7fdae',
500: '#f0fc8a',
950: '#000000',
},
}SCSS
$custom: #f0fc8a; $custom-light: #f7fdae; $custom-dark: #000000;
JSON
{
"hex": "#f0fc8a",
"rgb": {
"r": 240,
"g": 252,
"b": 138
},
"hsl": {
"h": 66.316,
"s": 95,
"l": 76.471
},
"oklch": {
"l": 0.95845,
"c": 0.13887,
"h": 114
},
"luminance": 0.89981
}Semantic roles & 50–950 ramp
primary
#F0FC8A
secondary
#5E4FDC
accent
#00E618
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581