#97AA22#97AA22
#97AA22 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.152 H 117.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #97AA22 |
|---|---|
| RGB | rgb(151, 170, 34) |
| HSL | hsl(68, 67%, 40%) |
| HSV | hsv(68, 80%, 67%) |
| CMYK | cmyk(11.2%, 0%, 80%, 33.3%) |
| CIE-LAB | lab(66.09, -23.44, 61.77) |
| CIE-LCH | lch(66.09, 66.07, 110.79°) |
| OKLab | oklab(69.97% -0.0709 0.1347) |
| OKLCH | oklch(69.97% 0.152 117.8) |
| XYZ | xyz(27.4266, 35.4445, 6.9097) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.29
Barf Green
#94AC02
ΔE00 1.69
Puke Green
#9AAE07
ΔE00 1.97
Pea Green
#8EAB12
ΔE00 2.05
Icky Green
#8FAE22
ΔE00 2.56
Sickly Green
#94B21C
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AA22 #3522AA
analogous
#AA7922 #97AA22 #53AA22
triadic
#97AA22 #2297AA #AA2297
tetradic
#97AA22 #22AA79 #3522AA #AA2253
square
#97AA22 #22AA79 #3522AA #AA2253
split-complementary
#97AA22 #2253AA #7922AA
monochromatic
#3C440E #6A7718 #97AA22 #BFD633 #CFE066
Accessibility & contrast
On white
2.60
#97AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#97AA22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AA22
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AA22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AA22 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#A1A091
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97aa22; /* rgb */ color: rgb(151, 170, 34); /* oklch */ color: oklch(70.0% 0.152 117.8);
Tailwind
colors: {
custom: {
50: '#b9c36a',
500: '#97aa22',
950: '#000000',
},
}SCSS
$custom: #97aa22; $custom-light: #b9c36a; $custom-dark: #000000;
JSON
{
"hex": "#97aa22",
"rgb": {
"r": 151,
"g": 170,
"b": 34
},
"hsl": {
"h": 68.382,
"s": 66.667,
"l": 40
},
"oklch": {
"l": 0.6997,
"c": 0.15221,
"h": 117.8
},
"luminance": 0.35444
}Semantic roles & 50–950 ramp
primary
#97AA22
secondary
#7062C6
accent
#3EEA56
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A