#97872B#97872B
#97872B is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.111 H 99.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #97872B |
|---|---|
| RGB | rgb(151, 135, 43) |
| HSL | hsl(51, 56%, 38%) |
| HSV | hsv(51, 72%, 59%) |
| CMYK | cmyk(0%, 10.6%, 71.5%, 40.8%) |
| CIE-LAB | lab(56.17, -4.72, 49.26) |
| CIE-LCH | lch(56.17, 49.48, 95.47°) |
| OKLab | oklab(62.06% -0.0178 0.1098) |
| OKLCH | oklch(62.06% 0.111 99.2) |
| XYZ | xyz(21.8635, 24.0827, 5.7818) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.62
Baby Poop
#937C00
ΔE00 4.85
Dark Mustard
#A88905
ΔE00 5.68
Baby Poo
#AB9004
ΔE00 6.18
Baby Shit Brown
#AD900D
ΔE00 6.37
Hazel
#8E7618
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97872B #2B3B97
analogous
#97512B #97872B #71972B
triadic
#97872B #2B9787 #872B97
tetradic
#97872B #2B9751 #2B3B97 #972B71
square
#97872B #2B9751 #2B3B97 #972B71
split-complementary
#97872B #2B7197 #512B97
monochromatic
#383210 #675C1D #97872B #C7B239 #D4C468
Accessibility & contrast
On white
3.61
#97872B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#97872B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97872B
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97872B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97872B | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#998931
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97872b; /* rgb */ color: rgb(151, 135, 43); /* oklch */ color: oklch(62.1% 0.111 99.2);
Tailwind
colors: {
custom: {
50: '#b9a96a',
500: '#97872b',
950: '#000000',
},
}SCSS
$custom: #97872b; $custom-light: #b9a96a; $custom-dark: #000000;
JSON
{
"hex": "#97872b",
"rgb": {
"r": 151,
"g": 135,
"b": 43
},
"hsl": {
"h": 51.111,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.62057,
"c": 0.11127,
"h": 99.2
},
"luminance": 0.24082
}Semantic roles & 50–950 ramp
primary
#97872B
secondary
#6370BB
accent
#5FDF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A