#8D845F#8D845F
#8D845F is a mid, muted yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.053 H 96.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8D845F |
|---|---|
| RGB | rgb(141, 132, 95) |
| HSL | hsl(48, 19%, 46%) |
| HSV | hsv(48, 33%, 55%) |
| CMYK | cmyk(0%, 6.4%, 32.6%, 44.7%) |
| CIE-LAB | lab(55.06, -2.60, 21.24) |
| CIE-LCH | lch(55.06, 21.40, 96.98°) |
| OKLab | oklab(61.17% -0.0057 0.0532) |
| OKLCH | oklch(61.17% 0.053 96.1) |
| XYZ | xyz(21.3016, 22.9920, 14.1400) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 2.86
Dark Khaki
#9B8F55
ΔE00 6.34
Brownish Grey
#86775F
ΔE00 7.28
Drab
#828344
ΔE00 7.34
Dark Sand
#A88F59
ΔE00 8.15
Taupe
#8B7D6B
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D845F #5F688D
analogous
#8D6D5F #8D845F #7F8D5F
triadic
#8D845F #5F8D84 #845F8D
tetradic
#8D845F #5F8D6D #5F688D #8D5F7F
square
#8D845F #5F8D6D #5F688D #8D5F7F
split-complementary
#8D845F #5F7F8D #6D5F8D
monochromatic
#44402E #686246 #8D845F #A9A180 #C2BCA4
Accessibility & contrast
On white
3.75
#8D845F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#8D845F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D845F
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D845F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D845F | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B825D
Deuteranopia (green-blind)
#8E8560
Tritanopia (blue-blind)
#947F7A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8d845f; /* rgb */ color: rgb(141, 132, 95); /* oklch */ color: oklch(61.2% 0.053 96.1);
Tailwind
colors: {
custom: {
50: '#afa78c',
500: '#8d845f',
950: '#000000',
},
}SCSS
$custom: #8d845f; $custom-light: #afa78c; $custom-dark: #000000;
JSON
{
"hex": "#8d845f",
"rgb": {
"r": 141,
"g": 132,
"b": 95
},
"hsl": {
"h": 48.261,
"s": 19.492,
"l": 46.275
},
"oklch": {
"l": 0.61173,
"c": 0.05347,
"h": 96.1
},
"luminance": 0.22991
}Semantic roles & 50–950 ramp
primary
#8D845F
secondary
#979CB0
accent
#7BBC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D