#8B7A2A#8B7A2A
#8B7A2A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.101 H 97.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7A2A |
|---|---|
| RGB | rgb(139, 122, 42) |
| HSL | hsl(49, 54%, 35%) |
| HSV | hsv(49, 70%, 55%) |
| CMYK | cmyk(0%, 12.2%, 69.8%, 45.5%) |
| CIE-LAB | lab(51.35, -3.05, 44.42) |
| CIE-LCH | lch(51.35, 44.52, 93.93°) |
| OKLab | oklab(57.96% -0.0124 0.0999) |
| OKLCH | oklch(57.96% 0.101 97.1) |
| XYZ | xyz(18.0258, 19.5761, 5.0191) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.00
Baby Poop
#937C00
ΔE00 4.43
Puke Brown
#947706
ΔE00 4.82
Poo
#8F7303
ΔE00 4.89
Ugly Brown
#7D7103
ΔE00 5.12
Yellowish Brown
#9B7A01
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7A2A #2A3B8B
analogous
#8B4A2A #8B7A2A #6B8B2A
triadic
#8B7A2A #2A8B7A #7A2A8B
tetradic
#8B7A2A #2A8B4A #2A3B8B #8B2A6B
square
#8B7A2A #2A8B4A #2A3B8B #8B2A6B
split-complementary
#8B7A2A #2A6B8B #4A2A8B
monochromatic
#2D270E #5C511C #8B7A2A #BAA338 #CFBC60
Accessibility & contrast
On white
4.27
#8B7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8B7A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7A2A
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7A2A | 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)
#86771F
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#96716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b7a2a; /* rgb */ color: rgb(139, 122, 42); /* oklch */ color: oklch(58.0% 0.101 97.1);
Tailwind
colors: {
custom: {
50: '#b0a068',
500: '#8b7a2a',
950: '#000000',
},
}SCSS
$custom: #8b7a2a; $custom-light: #b0a068; $custom-dark: #000000;
JSON
{
"hex": "#8b7a2a",
"rgb": {
"r": 139,
"g": 122,
"b": 42
},
"hsl": {
"h": 49.485,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.57963,
"c": 0.10061,
"h": 97.1
},
"luminance": 0.19575
}Semantic roles & 50–950 ramp
primary
#8B7A2A
secondary
#5C6CB5
accent
#64DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A