#97AE21#97AE21
#97AE21 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 70.9% C 0.157 H 119.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #97AE21 |
|---|---|
| RGB | rgb(151, 174, 33) |
| HSL | hsl(70, 68%, 41%) |
| HSV | hsv(70, 81%, 68%) |
| CMYK | cmyk(13.2%, 0%, 81%, 31.8%) |
| CIE-LAB | lab(67.25, -25.45, 63.07) |
| CIE-LCH | lch(67.25, 68.01, 111.97°) |
| OKLab | oklab(70.9% -0.0765 0.1373) |
| OKLCH | oklch(70.9% 0.157 119.1) |
| XYZ | xyz(28.1737, 36.9614, 7.0886) |
| Luminance | 0.3696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.42
Sickly Green
#94B21C
ΔE00 1.58
Puke Green
#9AAE07
ΔE00 1.67
Pea Green
#8EAB12
ΔE00 1.71
Icky Green
#8FAE22
ΔE00 1.79
Booger Green
#96B403
ΔE00 2.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AE21 #3821AE
analogous
#AE7E21 #97AE21 #51AE21
triadic
#97AE21 #2197AE #AE2197
tetradic
#97AE21 #21AE7E #3821AE #AE2151
square
#97AE21 #21AE7E #3821AE #AE2151
split-complementary
#97AE21 #2151AE #7E21AE
monochromatic
#3E470D #6A7B17 #97AE21 #BED834 #CEE267
Accessibility & contrast
On white
2.50
#97AE21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#97AE21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AE21
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AE21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AE21 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A0A495
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #97ae21; /* rgb */ color: rgb(151, 174, 33); /* oklch */ color: oklch(70.9% 0.157 119.1);
Tailwind
colors: {
custom: {
50: '#b9c66a',
500: '#97ae21',
950: '#000000',
},
}SCSS
$custom: #97ae21; $custom-light: #b9c66a; $custom-dark: #000000;
JSON
{
"hex": "#97ae21",
"rgb": {
"r": 151,
"g": 174,
"b": 33
},
"hsl": {
"h": 69.787,
"s": 68.116,
"l": 40.588
},
"oklch": {
"l": 0.70898,
"c": 0.15716,
"h": 119.1
},
"luminance": 0.36961
}Semantic roles & 50–950 ramp
primary
#97AE21
secondary
#7363C8
accent
#3DEB59
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A