#97971E#97971E
#97971E is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.134 H 109.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #97971E |
|---|---|
| RGB | rgb(151, 151, 30) |
| HSL | hsl(60, 67%, 35%) |
| HSV | hsv(60, 80%, 59%) |
| CMYK | cmyk(0%, 0%, 80.1%, 40.8%) |
| CIE-LAB | lab(60.61, -13.91, 58.06) |
| CIE-LCH | lch(60.61, 59.71, 103.47°) |
| OKLab | oklab(65.57% -0.0448 0.1261) |
| OKLCH | oklch(65.57% 0.134 109.6) |
| XYZ | xyz(24.0644, 28.8070, 5.5207) |
| Luminance | 0.2881 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.17
Baby Poop Green
#8F9805
ΔE00 2.45
Baby Shit Green
#889717
ΔE00 3.92
Vomit
#A2A415
ΔE00 4.27
Puke
#A5A502
ΔE00 4.99
Pea Soup Green
#94A617
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97971E #1E1E97
analogous
#975A1E #97971E #5A971E
triadic
#97971E #1E9797 #971E97
tetradic
#97971E #1E975A #1E1E97 #971E5A
square
#97971E #1E975A #1E1E97 #971E5A
split-complementary
#97971E #1E5A97 #5A1E97
monochromatic
#31310A #646414 #97971E #CACA28 #DDDD53
Accessibility & contrast
On white
3.11
#97971E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#97971E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97971E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97971E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97971E | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #97971e; /* rgb */ color: rgb(151, 151, 30); /* oklch */ color: oklch(65.6% 0.134 109.6);
Tailwind
colors: {
custom: {
50: '#b9b566',
500: '#97971e',
950: '#000000',
},
}SCSS
$custom: #97971e; $custom-light: #b9b566; $custom-dark: #000000;
JSON
{
"hex": "#97971e",
"rgb": {
"r": 151,
"g": 151,
"b": 30
},
"hsl": {
"h": 60,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.65567,
"c": 0.13379,
"h": 109.6
},
"luminance": 0.28806
}Semantic roles & 50–950 ramp
primary
#97971E
secondary
#5151C0
accent
#3EEA3E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A