#97873E#97873E
#97873E is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.095 H 97.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #97873E |
|---|---|
| RGB | rgb(151, 135, 62) |
| HSL | hsl(49, 42%, 42%) |
| HSV | hsv(49, 59%, 59%) |
| CMYK | cmyk(0%, 10.6%, 58.9%, 40.8%) |
| CIE-LAB | lab(56.34, -3.45, 40.74) |
| CIE-LCH | lch(56.34, 40.89, 94.85°) |
| OKLab | oklab(62.25% -0.0118 0.0947) |
| OKLCH | oklch(62.25% 0.095 97.1) |
| XYZ | xyz(22.2968, 24.2560, 8.0639) |
| Luminance | 0.2425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.19
Dark Sand
#A88F59
ΔE00 6.42
Drab
#828344
ΔE00 6.52
Diarrhea
#9F8303
ΔE00 6.57
Baby Poop
#937C00
ΔE00 6.67
Hazel
#8E7618
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97873E #3E4E97
analogous
#975A3E #97873E #7B973E
triadic
#97873E #3E9787 #873E97
tetradic
#97873E #3E975A #3E4E97 #973E7B
square
#97873E #3E975A #3E4E97 #973E7B
split-complementary
#97873E #3E7B97 #5A3E97
monochromatic
#40391A #6C602C #97873E #BAA958 #CCBF83
Accessibility & contrast
On white
3.59
#97873E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#97873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97873E
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97873E | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#A27E77
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97873e; /* rgb */ color: rgb(151, 135, 62); /* oklch */ color: oklch(62.2% 0.095 97.1);
Tailwind
colors: {
custom: {
50: '#b8a976',
500: '#97873e',
950: '#000000',
},
}SCSS
$custom: #97873e; $custom-light: #b8a976; $custom-dark: #000000;
JSON
{
"hex": "#97873e",
"rgb": {
"r": 151,
"g": 135,
"b": 62
},
"hsl": {
"h": 49.213,
"s": 41.784,
"l": 41.765
},
"oklch": {
"l": 0.62249,
"c": 0.09543,
"h": 97.1
},
"luminance": 0.24255
}Semantic roles & 50–950 ramp
primary
#97873E
secondary
#7A85B6
accent
#6CD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B