#97A42E#97A42E
#97A42E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.139 H 115.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #97A42E |
|---|---|
| RGB | rgb(151, 164, 46) |
| HSL | hsl(67, 56%, 41%) |
| HSV | hsv(67, 72%, 64%) |
| CMYK | cmyk(7.9%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(64.43, -19.89, 56.25) |
| CIE-LCH | lch(64.43, 59.66, 109.47°) |
| OKLab | oklab(68.65% -0.0601 0.1251) |
| OKLCH | oklch(68.65% 0.139 115.6) |
| XYZ | xyz(26.5318, 33.3279, 7.6195) |
| Luminance | 0.3333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.04
Vomit Green
#89A203
ΔE00 3.38
Barf Green
#94AC02
ΔE00 3.84
Pea Green
#8EAB12
ΔE00 3.86
Vomit
#A2A415
ΔE00 3.90
Puke Green
#9AAE07
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A42E #3B2EA4
analogous
#A4762E #97A42E #5CA42E
triadic
#97A42E #2E97A4 #A42E97
tetradic
#97A42E #2EA476 #3B2EA4 #A42E5C
square
#97A42E #2EA476 #3B2EA4 #A42E5C
split-complementary
#97A42E #2E5CA4 #762EA4
monochromatic
#3F4413 #6B7421 #97A42E #BCCB45 #CDD874
Accessibility & contrast
On white
2.74
#97A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#97A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A42E
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A42E | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B19
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #97a42e; /* rgb */ color: rgb(151, 164, 46); /* oklch */ color: oklch(68.7% 0.139 115.6);
Tailwind
colors: {
custom: {
50: '#b9be6f',
500: '#97a42e',
950: '#000000',
},
}SCSS
$custom: #97a42e; $custom-light: #b9be6f; $custom-dark: #000000;
JSON
{
"hex": "#97a42e",
"rgb": {
"r": 151,
"g": 164,
"b": 46
},
"hsl": {
"h": 66.61,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.6865,
"c": 0.13879,
"h": 115.6
},
"luminance": 0.33327
}Semantic roles & 50–950 ramp
primary
#97A42E
secondary
#776EC0
accent
#48DF59
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B