#97A42B#97A42B
#97A42B 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 | #97A42B |
|---|---|
| RGB | rgb(151, 164, 43) |
| HSL | hsl(66, 58%, 41%) |
| HSV | hsv(66, 74%, 64%) |
| CMYK | cmyk(7.9%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(64.41, -20.04, 57.31) |
| CIE-LCH | lch(64.41, 60.72, 109.28°) |
| OKLab | oklab(68.63% -0.0608 0.1268) |
| OKLCH | oklch(68.63% 0.141 115.6) |
| XYZ | xyz(26.4747, 33.3051, 7.3189) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.79
Vomit Green
#89A203
ΔE00 3.22
Barf Green
#94AC02
ΔE00 3.65
Vomit
#A2A415
ΔE00 3.69
Pea Green
#8EAB12
ΔE00 3.75
Puke Green
#9AAE07
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A42B #382BA4
analogous
#A4742B #97A42B #5BA42B
triadic
#97A42B #2B97A4 #A42B97
tetradic
#97A42B #2BA474 #382BA4 #A42B5B
square
#97A42B #2BA474 #382BA4 #A42B5B
split-complementary
#97A42B #2B5BA4 #742BA4
monochromatic
#3E4312 #6A741E #97A42B #BECD3F #CED970
Accessibility & contrast
On white
2.74
#97A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#97A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A42B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A42B | 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)
#B09B13
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #97a42b; /* rgb */ color: rgb(151, 164, 43); /* oklch */ color: oklch(68.6% 0.141 115.6);
Tailwind
colors: {
custom: {
50: '#b9be6d',
500: '#97a42b',
950: '#000000',
},
}SCSS
$custom: #97a42b; $custom-light: #b9be6d; $custom-dark: #000000;
JSON
{
"hex": "#97a42b",
"rgb": {
"r": 151,
"g": 164,
"b": 43
},
"hsl": {
"h": 66.446,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.6863,
"c": 0.14064,
"h": 115.6
},
"luminance": 0.33305
}Semantic roles & 50–950 ramp
primary
#97A42B
secondary
#736AC1
accent
#46E257
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B