#97AB22#97AB22
#97AB22 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.153 H 118.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #97AB22 |
|---|---|
| RGB | rgb(151, 171, 34) |
| HSL | hsl(69, 67%, 40%) |
| HSV | hsv(69, 80%, 67%) |
| CMYK | cmyk(11.7%, 0%, 80.1%, 32.9%) |
| CIE-LAB | lab(66.38, -23.94, 62.02) |
| CIE-LCH | lch(66.38, 66.48, 111.10°) |
| OKLab | oklab(70.2% -0.0722 0.1352) |
| OKLCH | oklch(70.2% 0.153 118.1) |
| XYZ | xyz(27.6148, 35.8209, 6.9724) |
| Luminance | 0.3582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.54
Pea Soup Green
#94A617
ΔE00 1.55
Puke Green
#9AAE07
ΔE00 1.83
Pea Green
#8EAB12
ΔE00 1.89
Icky Green
#8FAE22
ΔE00 2.32
Sickly Green
#94B21C
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AB22 #3622AB
analogous
#AB7A22 #97AB22 #53AB22
triadic
#97AB22 #2297AB #AB2297
tetradic
#97AB22 #22AB7A #3622AB #AB2253
square
#97AB22 #22AB7A #3622AB #AB2253
split-complementary
#97AB22 #2253AB #7A22AB
monochromatic
#3D450E #6A7818 #97AB22 #BFD734 #CFE167
Accessibility & contrast
On white
2.57
#97AB22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#97AB22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AB22
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AB22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AB22 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97ab22; /* rgb */ color: rgb(151, 171, 34); /* oklch */ color: oklch(70.2% 0.153 118.1);
Tailwind
colors: {
custom: {
50: '#b9c36a',
500: '#97ab22',
950: '#000000',
},
}SCSS
$custom: #97ab22; $custom-light: #b9c36a; $custom-dark: #000000;
JSON
{
"hex": "#97ab22",
"rgb": {
"r": 151,
"g": 171,
"b": 34
},
"hsl": {
"h": 68.759,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.70203,
"c": 0.15333,
"h": 118.1
},
"luminance": 0.35821
}Semantic roles & 50–950 ramp
primary
#97AB22
secondary
#7163C6
accent
#3EEA57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A