#F0F873#F0F873
#F0F873 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.156 H 112.2°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F873 |
|---|---|
| RGB | rgb(240, 248, 115) |
| HSL | hsl(64, 90%, 71%) |
| HSV | hsv(64, 54%, 97%) |
| CMYK | cmyk(3.2%, 0%, 53.6%, 2.7%) |
| CIE-LAB | lab(94.70, -20.08, 61.93) |
| CIE-LCH | lch(94.70, 65.11, 107.97°) |
| OKLab | oklab(94.73% -0.0588 0.1445) |
| OKLCH | oklch(94.73% 0.156 112.2) |
| XYZ | xyz(72.5987, 86.8993, 29.1652) |
| Luminance | 0.8690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.30
Faded Yellow
#FEFF7F
ΔE00 2.33
Banana (survey)
#FFFF7E
ΔE00 2.49
Light Yellow
#FFFE7A
ΔE00 2.55
Butter
#FFFF81
ΔE00 2.55
Custard
#FFFD78
ΔE00 2.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F873 #7B73F8
analogous
#F8BD73 #F0F873 #ADF873
triadic
#F0F873 #73F0F8 #F873F0
tetradic
#F0F873 #73F8BD #7B73F8 #F873AD
square
#F0F873 #73F8BD #7B73F8 #F873AD
split-complementary
#F0F873 #73ADF8 #BD73F8
monochromatic
#D8E50B #EAF539 #F0F873 #F6FBAD #FCFEE2
Accessibility & contrast
On white
1.14
#F0F873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.38
#F0F873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F873
18.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F873 | 1.00 | 1.14 | 18.38 | 18.38 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FEEBDB
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f0f873; /* rgb */ color: rgb(240, 248, 115); /* oklch */ color: oklch(94.7% 0.156 112.2);
Tailwind
colors: {
custom: {
50: '#f7fa9f',
500: '#f0f873',
950: '#000000',
},
}SCSS
$custom: #f0f873; $custom-light: #f7fa9f; $custom-dark: #000000;
JSON
{
"hex": "#f0f873",
"rgb": {
"r": 240,
"g": 248,
"b": 115
},
"hsl": {
"h": 63.609,
"s": 90.476,
"l": 71.176
},
"oklch": {
"l": 0.94731,
"c": 0.15601,
"h": 112.2
},
"luminance": 0.86898
}Semantic roles & 50–950 ramp
primary
#F0F873
secondary
#453CD3
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580