#8B7A2E#8B7A2E
#8B7A2E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.097 H 96.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7A2E |
|---|---|
| RGB | rgb(139, 122, 46) |
| HSL | hsl(49, 50%, 36%) |
| HSV | hsv(49, 67%, 55%) |
| CMYK | cmyk(0%, 12.2%, 66.9%, 45.5%) |
| CIE-LAB | lab(51.39, -2.80, 42.64) |
| CIE-LCH | lch(51.39, 42.73, 93.76°) |
| OKLab | oklab(58% -0.0112 0.0968) |
| OKLCH | oklch(58% 0.097 96.6) |
| XYZ | xyz(18.1010, 19.6062, 5.4152) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.36
Baby Poop
#937C00
ΔE00 4.95
Puke Brown
#947706
ΔE00 5.18
Poo
#8F7303
ΔE00 5.24
Ugly Brown
#7D7103
ΔE00 5.50
Yellowish Brown
#9B7A01
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7A2E #2E3F8B
analogous
#8B4C2E #8B7A2E #6E8B2E
triadic
#8B7A2E #2E8B7A #7A2E8B
tetradic
#8B7A2E #2E8B4C #2E3F8B #8B2E6E
square
#8B7A2E #2E8B4C #2E3F8B #8B2E6E
split-complementary
#8B7A2E #2E6E8B #4C2E8B
monochromatic
#2F2910 #5D521F #8B7A2E #B9A23D #CDBA67
Accessibility & contrast
On white
4.27
#8B7A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8B7A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7A2E
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7A2E | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#96716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b7a2e; /* rgb */ color: rgb(139, 122, 46); /* oklch */ color: oklch(58.0% 0.097 96.6);
Tailwind
colors: {
custom: {
50: '#b0a06b',
500: '#8b7a2e',
950: '#000000',
},
}SCSS
$custom: #8b7a2e; $custom-light: #b0a06b; $custom-dark: #000000;
JSON
{
"hex": "#8b7a2e",
"rgb": {
"r": 139,
"g": 122,
"b": 46
},
"hsl": {
"h": 49.032,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.58001,
"c": 0.09741,
"h": 96.6
},
"luminance": 0.19605
}Semantic roles & 50–950 ramp
primary
#8B7A2E
secondary
#6170B3
accent
#68DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A