#F0FA7E#F0FA7E
#F0FA7E is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.3% C 0.148 H 113.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F0FA7E |
|---|---|
| RGB | rgb(240, 250, 126) |
| HSL | hsl(65, 93%, 74%) |
| HSV | hsv(65, 50%, 98%) |
| CMYK | cmyk(4%, 0%, 49.6%, 2%) |
| CIE-LAB | lab(95.33, -20.13, 57.73) |
| CIE-LCH | lch(95.33, 61.14, 109.22°) |
| OKLab | oklab(95.28% -0.0579 0.1364) |
| OKLCH | oklch(95.28% 0.148 113) |
| XYZ | xyz(73.8880, 88.4041, 32.9060) |
| Luminance | 0.8840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.40
Faded Yellow
#FEFF7F
ΔE00 2.55
Pale Yellow
#FFFF84
ΔE00 2.66
Butter
#FFFF81
ΔE00 2.71
Banana (survey)
#FFFF7E
ΔE00 2.81
Light Yellow
#FFFE7A
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0FA7E #887EFA
analogous
#FAC67E #F0FA7E #B2FA7E
triadic
#F0FA7E #7EF0FA #FA7EF0
tetradic
#F0FA7E #7EFAC6 #887EFA #FA7EB2
square
#F0FA7E #7EFAC6 #887EFA #FA7EB2
split-complementary
#F0FA7E #7EB2FA #C67EFA
monochromatic
#E1F409 #E9F843 #F0FA7E #F7FCB9 #FCFEE2
Accessibility & contrast
On white
1.12
#F0FA7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.68
#F0FA7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0FA7E
18.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0FA7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0FA7E | 1.00 | 1.12 | 18.68 | 18.68 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF073
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FDEEDE
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f0fa7e; /* rgb */ color: rgb(240, 250, 126); /* oklch */ color: oklch(95.3% 0.148 113.0);
Tailwind
colors: {
custom: {
50: '#f7fba6',
500: '#f0fa7e',
950: '#000000',
},
}SCSS
$custom: #f0fa7e; $custom-light: #f7fba6; $custom-dark: #000000;
JSON
{
"hex": "#f0fa7e",
"rgb": {
"r": 240,
"g": 250,
"b": 126
},
"hsl": {
"h": 64.839,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.95275,
"c": 0.14822,
"h": 113
},
"luminance": 0.88403
}Semantic roles & 50–950 ramp
primary
#F0FA7E
secondary
#5145D7
accent
#00E613
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580