#97A42A#97A42A
#97A42A is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.141 H 115.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #97A42A |
|---|---|
| RGB | rgb(151, 164, 42) |
| HSL | hsl(66, 59%, 40%) |
| HSV | hsv(66, 74%, 64%) |
| CMYK | cmyk(7.9%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(64.40, -20.09, 57.66) |
| CIE-LCH | lch(64.40, 61.06, 109.21°) |
| OKLab | oklab(68.62% -0.061 0.1274) |
| OKLCH | oklch(68.62% 0.141 115.6) |
| XYZ | xyz(26.4566, 33.2978, 7.2235) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.71
Vomit Green
#89A203
ΔE00 3.18
Barf Green
#94AC02
ΔE00 3.59
Vomit
#A2A415
ΔE00 3.63
Pea Green
#8EAB12
ΔE00 3.72
Puke Green
#9AAE07
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A42A #372AA4
analogous
#A4742A #97A42A #5AA42A
triadic
#97A42A #2A97A4 #A42A97
tetradic
#97A42A #2AA474 #372AA4 #A42A5A
square
#97A42A #2AA474 #372AA4 #A42A5A
split-complementary
#97A42A #2A5AA4 #742AA4
monochromatic
#3D4311 #6A731E #97A42A #BECD3E #CFDA6E
Accessibility & contrast
On white
2.74
#97A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#97A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A42A
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A42A | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #97a42a; /* rgb */ color: rgb(151, 164, 42); /* oklch */ color: oklch(68.6% 0.141 115.6);
Tailwind
colors: {
custom: {
50: '#b9be6d',
500: '#97a42a',
950: '#000000',
},
}SCSS
$custom: #97a42a; $custom-light: #b9be6d; $custom-dark: #000000;
JSON
{
"hex": "#97a42a",
"rgb": {
"r": 151,
"g": 164,
"b": 42
},
"hsl": {
"h": 66.393,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.68623,
"c": 0.14124,
"h": 115.6
},
"luminance": 0.33297
}Semantic roles & 50–950 ramp
primary
#97A42A
secondary
#7269C1
accent
#45E256
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A