#97873B#97873B
#97873B is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.098 H 97.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #97873B |
|---|---|
| RGB | rgb(151, 135, 59) |
| HSL | hsl(50, 44%, 41%) |
| HSV | hsv(50, 61%, 59%) |
| CMYK | cmyk(0%, 10.6%, 60.9%, 40.8%) |
| CIE-LAB | lab(56.31, -3.69, 42.18) |
| CIE-LCH | lch(56.31, 42.34, 95.00°) |
| OKLab | oklab(62.21% -0.0129 0.0974) |
| OKLCH | oklch(62.21% 0.098 97.5) |
| XYZ | xyz(22.2168, 24.2240, 7.6423) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.58
Diarrhea
#9F8303
ΔE00 6.19
Baby Poop
#937C00
ΔE00 6.30
Drab
#828344
ΔE00 6.68
Dark Sand
#A88F59
ΔE00 6.78
Hazel
#8E7618
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97873B #3B4B97
analogous
#97593B #97873B #79973B
triadic
#97873B #3B9787 #873B97
tetradic
#97873B #3B9759 #3B4B97 #973B79
square
#97873B #3B9759 #3B4B97 #973B79
split-complementary
#97873B #3B7997 #593B97
monochromatic
#3F3819 #6B602A #97873B #BCAA53 #CDC07F
Accessibility & contrast
On white
3.59
#97873B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#97873B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97873B
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97873B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97873B | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938433
Deuteranopia (green-blind)
#98893F
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97873b; /* rgb */ color: rgb(151, 135, 59); /* oklch */ color: oklch(62.2% 0.098 97.5);
Tailwind
colors: {
custom: {
50: '#b8a974',
500: '#97873b',
950: '#000000',
},
}SCSS
$custom: #97873b; $custom-light: #b8a974; $custom-dark: #000000;
JSON
{
"hex": "#97873b",
"rgb": {
"r": 151,
"g": 135,
"b": 59
},
"hsl": {
"h": 49.565,
"s": 43.81,
"l": 41.176
},
"oklch": {
"l": 0.62213,
"c": 0.09824,
"h": 97.5
},
"luminance": 0.24223
}Semantic roles & 50–950 ramp
primary
#97873B
secondary
#7782B7
accent
#6AD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B