#97871E#97871E
#97871E is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.119 H 100.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #97871E |
|---|---|
| RGB | rgb(151, 135, 30) |
| HSL | hsl(52, 67%, 35%) |
| HSV | hsv(52, 80%, 59%) |
| CMYK | cmyk(0%, 10.6%, 80.1%, 40.8%) |
| CIE-LAB | lab(56.09, -5.32, 54.04) |
| CIE-LCH | lch(56.09, 54.30, 95.62°) |
| OKLab | oklab(61.97% -0.0208 0.1174) |
| OKLCH | oklch(61.97% 0.119 100.1) |
| XYZ | xyz(21.6619, 24.0021, 4.7199) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.98
Baby Poop
#937C00
ΔE00 4.32
Dark Mustard
#A88905
ΔE00 5.10
Baby Poo
#AB9004
ΔE00 5.47
Baby Shit Brown
#AD900D
ΔE00 5.79
Olive
#808000
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97871E #1E2E97
analogous
#974A1E #97871E #6A971E
triadic
#97871E #1E9787 #871E97
tetradic
#97871E #1E974A #1E2E97 #971E6A
square
#97871E #1E974A #1E2E97 #971E6A
split-complementary
#97871E #1E6A97 #4A1E97
monochromatic
#312C0A #645914 #97871E #CAB528 #DDCA53
Accessibility & contrast
On white
3.62
#97871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#97871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97871E
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97871E | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #97871e; /* rgb */ color: rgb(151, 135, 30); /* oklch */ color: oklch(62.0% 0.119 100.1);
Tailwind
colors: {
custom: {
50: '#b9a964',
500: '#97871e',
950: '#000000',
},
}SCSS
$custom: #97871e; $custom-light: #b9a964; $custom-dark: #000000;
JSON
{
"hex": "#97871e",
"rgb": {
"r": 151,
"g": 135,
"b": 30
},
"hsl": {
"h": 52.066,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.61967,
"c": 0.11923,
"h": 100.1
},
"luminance": 0.24001
}Semantic roles & 50–950 ramp
primary
#97871E
secondary
#5160C0
accent
#55EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A