#97861E#97861E
#97861E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.118 H 99.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #97861E |
|---|---|
| RGB | rgb(151, 134, 30) |
| HSL | hsl(52, 67%, 35%) |
| HSV | hsv(52, 80%, 59%) |
| CMYK | cmyk(0%, 11.3%, 80.1%, 40.8%) |
| CIE-LAB | lab(55.81, -4.77, 53.79) |
| CIE-LCH | lch(55.81, 54.00, 95.07°) |
| OKLab | oklab(61.75% -0.0193 0.1169) |
| OKLCH | oklch(61.75% 0.118 99.4) |
| XYZ | xyz(21.5230, 23.7243, 4.6736) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.68
Baby Poop
#937C00
ΔE00 3.94
Dark Mustard
#A88905
ΔE00 4.96
Baby Poo
#AB9004
ΔE00 5.54
Baby Shit Brown
#AD900D
ΔE00 5.82
Yellowish Brown
#9B7A01
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97861E #1E2F97
analogous
#97491E #97861E #6B971E
triadic
#97861E #1E9786 #861E97
tetradic
#97861E #1E9749 #1E2F97 #971E6B
square
#97861E #1E9749 #1E2F97 #971E6B
split-complementary
#97861E #1E6B97 #491E97
monochromatic
#312B0A #645914 #97861E #CAB328 #DDC953
Accessibility & contrast
On white
3.66
#97861E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#97861E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97861E
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97861E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97861E | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #97861e; /* rgb */ color: rgb(151, 134, 30); /* oklch */ color: oklch(61.7% 0.118 99.4);
Tailwind
colors: {
custom: {
50: '#b9a864',
500: '#97861e',
950: '#000000',
},
}SCSS
$custom: #97861e; $custom-light: #b9a864; $custom-dark: #000000;
JSON
{
"hex": "#97861e",
"rgb": {
"r": 151,
"g": 134,
"b": 30
},
"hsl": {
"h": 51.57,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.61745,
"c": 0.11844,
"h": 99.4
},
"luminance": 0.23723
}Semantic roles & 50–950 ramp
primary
#97861E
secondary
#5160C0
accent
#56EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A