#97971B#97971B
#97971B is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.135 H 109.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #97971B |
|---|---|
| RGB | rgb(151, 151, 27) |
| HSL | hsl(60, 70%, 35%) |
| HSV | hsv(60, 82%, 59%) |
| CMYK | cmyk(0%, 0%, 82.1%, 40.8%) |
| CIE-LAB | lab(60.60, -14.01, 58.91) |
| CIE-LCH | lch(60.60, 60.55, 103.38°) |
| OKLab | oklab(65.55% -0.0454 0.1273) |
| OKLCH | oklch(65.55% 0.135 109.6) |
| XYZ | xyz(24.0279, 28.7924, 5.3285) |
| Luminance | 0.2879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.04
Baby Poop Green
#8F9805
ΔE00 2.38
Baby Shit Green
#889717
ΔE00 3.96
Vomit
#A2A415
ΔE00 4.20
Puke
#A5A502
ΔE00 4.89
Pea Soup Green
#94A617
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97971B #1B1B97
analogous
#97591B #97971B #59971B
triadic
#97971B #1B9797 #971B97
tetradic
#97971B #1B9759 #1B1B97 #971B59
square
#97971B #1B9759 #1B1B97 #971B59
split-complementary
#97971B #1B5997 #591B97
monochromatic
#2F2F08 #636312 #97971B #CBCB24 #DFDF4D
Accessibility & contrast
On white
3.11
#97971B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#97971B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97971B
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97971B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97971B | 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)
#A59427
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #97971b; /* rgb */ color: rgb(151, 151, 27); /* oklch */ color: oklch(65.6% 0.135 109.6);
Tailwind
colors: {
custom: {
50: '#b9b565',
500: '#97971b',
950: '#000000',
},
}SCSS
$custom: #97971b; $custom-light: #b9b565; $custom-dark: #000000;
JSON
{
"hex": "#97971b",
"rgb": {
"r": 151,
"g": 151,
"b": 27
},
"hsl": {
"h": 60,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.65553,
"c": 0.13515,
"h": 109.6
},
"luminance": 0.28792
}Semantic roles & 50–950 ramp
primary
#97971B
secondary
#4C4CC1
accent
#3BEC3B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A