#97A52A#97A52A
#97A52A is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.142 H 116.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #97A52A |
|---|---|
| RGB | rgb(151, 165, 42) |
| HSL | hsl(67, 59%, 41%) |
| HSV | hsv(67, 75%, 65%) |
| CMYK | cmyk(8.5%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(64.69, -20.60, 57.93) |
| CIE-LCH | lch(64.69, 61.49, 109.57°) |
| OKLab | oklab(68.86% -0.0624 0.128) |
| OKLCH | oklch(68.86% 0.142 116) |
| XYZ | xyz(26.6363, 33.6571, 7.2833) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.54
Vomit Green
#89A203
ΔE00 3.11
Barf Green
#94AC02
ΔE00 3.31
Pea Green
#8EAB12
ΔE00 3.43
Puke Green
#9AAE07
ΔE00 3.54
Vomit
#A2A415
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A52A #382AA5
analogous
#A5752A #97A52A #5AA52A
triadic
#97A52A #2A97A5 #A52A97
tetradic
#97A52A #2AA575 #382AA5 #A52A5A
square
#97A52A #2AA575 #382AA5 #A52A5A
split-complementary
#97A52A #2A5AA5 #752AA5
monochromatic
#3E4311 #6A741E #97A52A #BECE3E #CEDA6F
Accessibility & contrast
On white
2.72
#97A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#97A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A52A
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A52A | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#A19B8E
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #97a52a; /* rgb */ color: rgb(151, 165, 42); /* oklch */ color: oklch(68.9% 0.142 116.0);
Tailwind
colors: {
custom: {
50: '#b9bf6d',
500: '#97a52a',
950: '#000000',
},
}SCSS
$custom: #97a52a; $custom-light: #b9bf6d; $custom-dark: #000000;
JSON
{
"hex": "#97a52a",
"rgb": {
"r": 151,
"g": 165,
"b": 42
},
"hsl": {
"h": 66.829,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.68855,
"c": 0.14237,
"h": 116
},
"luminance": 0.33657
}Semantic roles & 50–950 ramp
primary
#97A52A
secondary
#7369C1
accent
#45E357
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B