#97AC20#97AC20
#97AC20 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.4% C 0.155 H 118.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #97AC20 |
|---|---|
| RGB | rgb(151, 172, 32) |
| HSL | hsl(69, 69%, 40%) |
| HSV | hsv(69, 81%, 67%) |
| CMYK | cmyk(12.2%, 0%, 81.4%, 32.5%) |
| CIE-LAB | lab(66.66, -24.51, 62.83) |
| CIE-LCH | lch(66.66, 67.44, 111.31°) |
| OKLab | oklab(70.43% -0.0739 0.1366) |
| OKLCH | oklch(70.43% 0.155 118.4) |
| XYZ | xyz(27.7764, 36.1889, 6.8881) |
| Luminance | 0.3619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.32
Puke Green
#9AAE07
ΔE00 1.61
Pea Green
#8EAB12
ΔE00 1.76
Pea Soup Green
#94A617
ΔE00 1.80
Icky Green
#8FAE22
ΔE00 2.15
Sickly Green
#94B21C
ΔE00 2.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AC20 #3520AC
analogous
#AC7B20 #97AC20 #51AC20
triadic
#97AC20 #2097AC #AC2097
tetradic
#97AC20 #20AC7B #3520AC #AC2051
square
#97AC20 #20AC7B #3520AC #AC2051
split-complementary
#97AC20 #2051AC #7B20AC
monochromatic
#3C450D #6A7816 #97AC20 #BFD931 #CFE264
Accessibility & contrast
On white
2.55
#97AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#97AC20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AC20
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AC20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AC20 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #97ac20; /* rgb */ color: rgb(151, 172, 32); /* oklch */ color: oklch(70.4% 0.155 118.4);
Tailwind
colors: {
custom: {
50: '#b9c46a',
500: '#97ac20',
950: '#000000',
},
}SCSS
$custom: #97ac20; $custom-light: #b9c46a; $custom-dark: #000000;
JSON
{
"hex": "#97ac20",
"rgb": {
"r": 151,
"g": 172,
"b": 32
},
"hsl": {
"h": 69,
"s": 68.627,
"l": 40
},
"oklch": {
"l": 0.70427,
"c": 0.15535,
"h": 118.4
},
"luminance": 0.36189
}Semantic roles & 50–950 ramp
primary
#97AC20
secondary
#7060C7
accent
#3CEB57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A