#8B7E1D#8B7E1D
#8B7E1D is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.113 H 101.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7E1D |
|---|---|
| RGB | rgb(139, 126, 29) |
| HSL | hsl(53, 65%, 33%) |
| HSV | hsv(53, 79%, 55%) |
| CMYK | cmyk(0%, 9.4%, 79.1%, 45.5%) |
| CIE-LAB | lab(52.40, -5.94, 50.60) |
| CIE-LCH | lch(52.40, 50.95, 96.69°) |
| OKLab | oklab(58.76% -0.022 0.1104) |
| OKLCH | oklch(58.76% 0.113 101.3) |
| XYZ | xyz(18.3310, 20.5002, 4.1535) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.67
Olive
#808000
ΔE00 4.27
Hazel
#8E7618
ΔE00 4.30
Ugly Brown
#7D7103
ΔE00 5.22
Puke Brown
#947706
ΔE00 5.46
Poo
#8F7303
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7E1D #1D2A8B
analogous
#8B471D #8B7E1D #618B1D
triadic
#8B7E1D #1D8B7E #7E1D8B
tetradic
#8B7E1D #1D8B47 #1D2A8B #8B1D61
square
#8B7E1D #1D8B47 #1D2A8B #8B1D61
split-complementary
#8B7E1D #1D618B #471D8B
monochromatic
#262208 #585012 #8B7E1D #BEAC28 #D9C849
Accessibility & contrast
On white
4.12
#8B7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8B7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7E1D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7E1D | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8b7e1d; /* rgb */ color: rgb(139, 126, 29); /* oklch */ color: oklch(58.8% 0.113 101.3);
Tailwind
colors: {
custom: {
50: '#b0a362',
500: '#8b7e1d',
950: '#000000',
},
}SCSS
$custom: #8b7e1d; $custom-light: #b0a362; $custom-dark: #000000;
JSON
{
"hex": "#8b7e1d",
"rgb": {
"r": 139,
"g": 126,
"b": 29
},
"hsl": {
"h": 52.909,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.58762,
"c": 0.11258,
"h": 101.3
},
"luminance": 0.20499
}Semantic roles & 50–950 ramp
primary
#8B7E1D
secondary
#4956BB
accent
#53E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A