#EDF97A#EDF97A
#EDF97A is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.151 H 113.8°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF97A |
|---|---|
| RGB | rgb(237, 249, 122) |
| HSL | hsl(66, 91%, 73%) |
| HSV | hsv(66, 51%, 98%) |
| CMYK | cmyk(4.8%, 0%, 51%, 2.4%) |
| CIE-LAB | lab(94.81, -21.16, 58.88) |
| CIE-LCH | lch(94.81, 62.57, 109.77°) |
| OKLab | oklab(94.79% -0.061 0.1386) |
| OKLCH | oklch(94.79% 0.151 113.8) |
| XYZ | xyz(72.3149, 87.1622, 31.4231) |
| Luminance | 0.8716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.88
Faded Yellow
#FEFF7F
ΔE00 2.98
Pale Yellow
#FFFF84
ΔE00 3.15
Butter
#FFFF81
ΔE00 3.17
Banana (survey)
#FFFF7E
ΔE00 3.22
Light Yellow
#FFFE7A
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF97A #867AF9
analogous
#F9C57A #EDF97A #AEF97A
triadic
#EDF97A #7AEDF9 #F97AED
tetradic
#EDF97A #7AF9C5 #867AF9 #F97AAE
square
#EDF97A #7AF9C5 #867AF9 #F97AAE
split-complementary
#EDF97A #7AAEF9 #C57AF9
monochromatic
#D8EE0B #E5F63F #EDF97A #F5FCB5 #FBFEE2
Accessibility & contrast
On white
1.14
#EDF97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.43
#EDF97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF97A
18.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF97A | 1.00 | 1.14 | 18.43 | 18.43 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FAEDDC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #edf97a; /* rgb */ color: rgb(237, 249, 122); /* oklch */ color: oklch(94.8% 0.151 113.8);
Tailwind
colors: {
custom: {
50: '#f5fba4',
500: '#edf97a',
950: '#000000',
},
}SCSS
$custom: #edf97a; $custom-light: #f5fba4; $custom-dark: #000000;
JSON
{
"hex": "#edf97a",
"rgb": {
"r": 237,
"g": 249,
"b": 122
},
"hsl": {
"h": 65.669,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.94789,
"c": 0.15146,
"h": 113.8
},
"luminance": 0.87161
}Semantic roles & 50–950 ramp
primary
#EDF97A
secondary
#5042D5
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580