#97A72A#97A72A
#97A72A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.145 H 116.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #97A72A |
|---|---|
| RGB | rgb(151, 167, 42) |
| HSL | hsl(68, 60%, 41%) |
| HSV | hsv(68, 75%, 65%) |
| CMYK | cmyk(9.6%, 0%, 74.9%, 34.5%) |
| CIE-LAB | lab(65.27, -21.60, 58.48) |
| CIE-LCH | lch(65.27, 62.34, 110.28°) |
| OKLab | oklab(69.32% -0.0652 0.1291) |
| OKLCH | oklch(69.32% 0.145 116.8) |
| XYZ | xyz(26.9998, 34.3843, 7.4045) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.38
Barf Green
#94AC02
ΔE00 2.82
Pea Green
#8EAB12
ΔE00 2.90
Puke Green
#9AAE07
ΔE00 3.07
Vomit Green
#89A203
ΔE00 3.08
Icky Green
#8FAE22
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A72A #3A2AA7
analogous
#A7782A #97A72A #58A72A
triadic
#97A72A #2A97A7 #A72A97
tetradic
#97A72A #2AA778 #3A2AA7 #A72A58
square
#97A72A #2AA778 #3A2AA7 #A72A58
split-complementary
#97A72A #2A58A7 #782AA7
monochromatic
#3F4511 #6B761E #97A72A #BCCF3F #CDDB70
Accessibility & contrast
On white
2.67
#97A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#97A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A72A
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A72A | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #97a72a; /* rgb */ color: rgb(151, 167, 42); /* oklch */ color: oklch(69.3% 0.145 116.8);
Tailwind
colors: {
custom: {
50: '#b9c16d',
500: '#97a72a',
950: '#000000',
},
}SCSS
$custom: #97a72a; $custom-light: #b9c16d; $custom-dark: #000000;
JSON
{
"hex": "#97a72a",
"rgb": {
"r": 151,
"g": 167,
"b": 42
},
"hsl": {
"h": 67.68,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.69318,
"c": 0.14464,
"h": 116.8
},
"luminance": 0.34384
}Semantic roles & 50–950 ramp
primary
#97A72A
secondary
#766BC2
accent
#45E359
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B