#97A71B#97A71B
#97A71B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.2% C 0.152 H 116.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #97A71B |
|---|---|
| RGB | rgb(151, 167, 27) |
| HSL | hsl(67, 72%, 38%) |
| HSV | hsv(67, 84%, 65%) |
| CMYK | cmyk(9.6%, 0%, 83.8%, 34.5%) |
| CIE-LAB | lab(65.20, -22.20, 62.86) |
| CIE-LCH | lch(65.20, 66.67, 109.45°) |
| OKLab | oklab(69.24% -0.0679 0.1358) |
| OKLCH | oklch(69.24% 0.152 116.6) |
| XYZ | xyz(26.7798, 34.2963, 6.2458) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.61
Barf Green
#94AC02
ΔE00 2.12
Puke Green
#9AAE07
ΔE00 2.31
Pea Green
#8EAB12
ΔE00 2.73
Vomit Green
#89A203
ΔE00 2.80
Vomit
#A2A415
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A71B #2B1BA7
analogous
#A7711B #97A71B #51A71B
triadic
#97A71B #1B97A7 #A71B97
tetradic
#97A71B #1BA771 #2B1BA7 #A71B51
square
#97A71B #1BA771 #2B1BA7 #A71B51
split-complementary
#97A71B #1B51A7 #711BA7
monochromatic
#383E0A #677212 #97A71B #C7DC24 #D4E458
Accessibility & contrast
On white
2.67
#97A71B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#97A71B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A71B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A71B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A71B | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2A
Tritanopia (blue-blind)
#A19D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #97a71b; /* rgb */ color: rgb(151, 167, 27); /* oklch */ color: oklch(69.2% 0.152 116.6);
Tailwind
colors: {
custom: {
50: '#b9c167',
500: '#97a71b',
950: '#000000',
},
}SCSS
$custom: #97a71b; $custom-light: #b9c167; $custom-dark: #000000;
JSON
{
"hex": "#97a71b",
"rgb": {
"r": 151,
"g": 167,
"b": 27
},
"hsl": {
"h": 66.857,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.6924,
"c": 0.15189,
"h": 116.6
},
"luminance": 0.34296
}Semantic roles & 50–950 ramp
primary
#97A71B
secondary
#6356C8
accent
#39EF4E
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A