#8B7E2E#8B7E2E
#8B7E2E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.101 H 100.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7E2E |
|---|---|
| RGB | rgb(139, 126, 46) |
| HSL | hsl(52, 50%, 36%) |
| HSV | hsv(52, 67%, 55%) |
| CMYK | cmyk(0%, 9.4%, 66.9%, 45.5%) |
| CIE-LAB | lab(52.52, -5.04, 43.84) |
| CIE-LCH | lch(52.52, 44.13, 96.56°) |
| OKLab | oklab(58.9% -0.0176 0.0993) |
| OKLCH | oklch(58.9% 0.101 100) |
| XYZ | xyz(18.6022, 20.6087, 5.5823) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.62
Baby Poop
#937C00
ΔE00 5.06
Olive
#808000
ΔE00 5.60
Drab
#828344
ΔE00 5.82
Ugly Brown
#7D7103
ΔE00 5.98
Puke Brown
#947706
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7E2E #2E3B8B
analogous
#8B502E #8B7E2E #6A8B2E
triadic
#8B7E2E #2E8B7E #7E2E8B
tetradic
#8B7E2E #2E8B50 #2E3B8B #8B2E6A
square
#8B7E2E #2E8B50 #2E3B8B #8B2E6A
split-complementary
#8B7E2E #2E6A8B #502E8B
monochromatic
#2F2B10 #5D541F #8B7E2E #B9A83D #CDBE67
Accessibility & contrast
On white
4.10
#8B7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8B7E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7E2E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7E2E | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A24
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8b7e2e; /* rgb */ color: rgb(139, 126, 46); /* oklch */ color: oklch(58.9% 0.101 100.0);
Tailwind
colors: {
custom: {
50: '#b0a36b',
500: '#8b7e2e',
950: '#000000',
},
}SCSS
$custom: #8b7e2e; $custom-light: #b0a36b; $custom-dark: #000000;
JSON
{
"hex": "#8b7e2e",
"rgb": {
"r": 139,
"g": 126,
"b": 46
},
"hsl": {
"h": 51.613,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.58896,
"c": 0.10085,
"h": 100
},
"luminance": 0.20608
}Semantic roles & 50–950 ramp
primary
#8B7E2E
secondary
#616DB3
accent
#62DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A