#97AF2A#97AF2A
#97AF2A is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.2% C 0.154 H 119.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #97AF2A |
|---|---|
| RGB | rgb(151, 175, 42) |
| HSL | hsl(71, 61%, 43%) |
| HSV | hsv(71, 76%, 69%) |
| CMYK | cmyk(13.7%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(67.58, -25.56, 60.66) |
| CIE-LCH | lch(67.58, 65.82, 112.85°) |
| OKLab | oklab(71.18% -0.0761 0.1337) |
| OKLCH | oklch(71.18% 0.154 119.6) |
| XYZ | xyz(28.5110, 37.4066, 7.9082) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.53
Icky Green
#8FAE22
ΔE00 1.53
Pea Green
#8EAB12
ΔE00 2.00
Barf Green
#94AC02
ΔE00 2.18
Booger
#9BB53C
ΔE00 2.22
Avocado (survey)
#90B134
ΔE00 2.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AF2A #422AAF
analogous
#AF842A #97AF2A #55AF2A
triadic
#97AF2A #2A97AF #AF2A97
tetradic
#97AF2A #2AAF84 #422AAF #AF2A55
square
#97AF2A #2AAF84 #422AAF #AF2A55
split-complementary
#97AF2A #2A55AF #842AAF
monochromatic
#424C12 #6C7E1E #97AF2A #B8D244 #CBDE75
Accessibility & contrast
On white
2.48
#97AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#97AF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AF2A
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AF2A | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA508
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #97af2a; /* rgb */ color: rgb(151, 175, 42); /* oklch */ color: oklch(71.2% 0.154 119.6);
Tailwind
colors: {
custom: {
50: '#b9c66e',
500: '#97af2a',
950: '#000000',
},
}SCSS
$custom: #97af2a; $custom-light: #b9c66e; $custom-dark: #000000;
JSON
{
"hex": "#97af2a",
"rgb": {
"r": 151,
"g": 175,
"b": 42
},
"hsl": {
"h": 70.827,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.7118,
"c": 0.15386,
"h": 119.6
},
"luminance": 0.37406
}Semantic roles & 50–950 ramp
primary
#97AF2A
secondary
#7F6FC6
accent
#43E460
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B