#8D7D31#8D7D31
#8D7D31 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.098 H 97.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D31 |
|---|---|
| RGB | rgb(141, 125, 49) |
| HSL | hsl(50, 48%, 37%) |
| HSV | hsv(50, 65%, 55%) |
| CMYK | cmyk(0%, 11.3%, 65.2%, 44.7%) |
| CIE-LAB | lab(52.46, -3.37, 42.44) |
| CIE-LCH | lch(52.46, 42.57, 94.54°) |
| OKLab | oklab(58.9% -0.0125 0.0968) |
| OKLCH | oklch(58.9% 0.098 97.4) |
| XYZ | xyz(18.8733, 20.5526, 5.8781) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.07
Baby Poop
#937C00
ΔE00 5.00
Puke Brown
#947706
ΔE00 5.62
Poo
#8F7303
ΔE00 5.97
Ugly Brown
#7D7103
ΔE00 6.28
Drab
#828344
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D31 #31418D
analogous
#8D4F31 #8D7D31 #6F8D31
triadic
#8D7D31 #318D7D #7D318D
tetradic
#8D7D31 #318D4F #31418D #8D316F
square
#8D7D31 #318D4F #31418D #8D316F
split-complementary
#8D7D31 #316F8D #4F318D
monochromatic
#322C11 #605521 #8D7D31 #BAA541 #CCBB6C
Accessibility & contrast
On white
4.11
#8D7D31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8D7D31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D31
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D31 | 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)
#897A28
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#98746D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d31; /* rgb */ color: rgb(141, 125, 49); /* oklch */ color: oklch(58.9% 0.098 97.4);
Tailwind
colors: {
custom: {
50: '#b1a26d',
500: '#8d7d31',
950: '#000000',
},
}SCSS
$custom: #8d7d31; $custom-light: #b1a26d; $custom-dark: #000000;
JSON
{
"hex": "#8d7d31",
"rgb": {
"r": 141,
"g": 125,
"b": 49
},
"hsl": {
"h": 49.565,
"s": 48.421,
"l": 37.255
},
"oklch": {
"l": 0.58901,
"c": 0.09758,
"h": 97.4
},
"luminance": 0.20552
}Semantic roles & 50–950 ramp
primary
#8D7D31
secondary
#6674B4
accent
#67D850
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A