#8D7B31#8D7B31
#8D7B31 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.096 H 95.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7B31 |
|---|---|
| RGB | rgb(141, 123, 49) |
| HSL | hsl(48, 48%, 37%) |
| HSV | hsv(48, 65%, 55%) |
| CMYK | cmyk(0%, 12.8%, 65.2%, 44.7%) |
| CIE-LAB | lab(51.90, -2.25, 41.83) |
| CIE-LCH | lch(51.90, 41.89, 93.07°) |
| OKLab | oklab(58.46% -0.0093 0.0955) |
| OKLCH | oklch(58.46% 0.096 95.6) |
| XYZ | xyz(18.6227, 20.0513, 5.7945) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.56
Baby Poop
#937C00
ΔE00 5.06
Puke Brown
#947706
ΔE00 5.21
Poo
#8F7303
ΔE00 5.42
Ugly Brown
#7D7103
ΔE00 6.16
Yellowish Brown
#9B7A01
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7B31 #31438D
analogous
#8D4D31 #8D7B31 #718D31
triadic
#8D7B31 #318D7B #7B318D
tetradic
#8D7B31 #318D4D #31438D #8D3171
square
#8D7B31 #318D4D #31438D #8D3171
split-complementary
#8D7B31 #31718D #4D318D
monochromatic
#322C11 #605321 #8D7B31 #BAA341 #CCB96C
Accessibility & contrast
On white
4.19
#8D7B31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#8D7B31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7B31
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7B31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7B31 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7b31; /* rgb */ color: rgb(141, 123, 49); /* oklch */ color: oklch(58.5% 0.096 95.6);
Tailwind
colors: {
custom: {
50: '#b1a06d',
500: '#8d7b31',
950: '#000000',
},
}SCSS
$custom: #8d7b31; $custom-light: #b1a06d; $custom-dark: #000000;
JSON
{
"hex": "#8d7b31",
"rgb": {
"r": 141,
"g": 123,
"b": 49
},
"hsl": {
"h": 48.261,
"s": 48.421,
"l": 37.255
},
"oklch": {
"l": 0.58457,
"c": 0.09593,
"h": 95.6
},
"luminance": 0.2005
}Semantic roles & 50–950 ramp
primary
#8D7B31
secondary
#6675B4
accent
#6AD850
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A