#8D7D2F#8D7D2F
#8D7D2F is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.099 H 97.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D2F |
|---|---|
| RGB | rgb(141, 125, 47) |
| HSL | hsl(50, 50%, 37%) |
| HSV | hsv(50, 67%, 55%) |
| CMYK | cmyk(0%, 11.3%, 66.7%, 44.7%) |
| CIE-LAB | lab(52.44, -3.50, 43.35) |
| CIE-LCH | lch(52.44, 43.49, 94.62°) |
| OKLab | oklab(58.88% -0.0132 0.0984) |
| OKLCH | oklch(58.88% 0.099 97.6) |
| XYZ | xyz(18.8320, 20.5361, 5.6607) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.91
Baby Poop
#937C00
ΔE00 4.73
Puke Brown
#947706
ΔE00 5.44
Poo
#8F7303
ΔE00 5.80
Ugly Brown
#7D7103
ΔE00 6.10
Yellowish Brown
#9B7A01
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D2F #2F3F8D
analogous
#8D4E2F #8D7D2F #6E8D2F
triadic
#8D7D2F #2F8D7D #7D2F8D
tetradic
#8D7D2F #2F8D4E #2F3F8D #8D2F6E
square
#8D7D2F #2F8D4E #2F3F8D #8D2F6E
split-complementary
#8D7D2F #2F6E8D #4E2F8D
monochromatic
#312C10 #5F5420 #8D7D2F #BBA63E #CDBC69
Accessibility & contrast
On white
4.11
#8D7D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8D7D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D2F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D2F | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#98746D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d2f; /* rgb */ color: rgb(141, 125, 47); /* oklch */ color: oklch(58.9% 0.099 97.6);
Tailwind
colors: {
custom: {
50: '#b1a26b',
500: '#8d7d2f',
950: '#000000',
},
}SCSS
$custom: #8d7d2f; $custom-light: #b1a26b; $custom-dark: #000000;
JSON
{
"hex": "#8d7d2f",
"rgb": {
"r": 141,
"g": 125,
"b": 47
},
"hsl": {
"h": 49.787,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.58881,
"c": 0.09927,
"h": 97.6
},
"luminance": 0.20535
}Semantic roles & 50–950 ramp
primary
#8D7D2F
secondary
#6471B4
accent
#66DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A