#8B7E2D#8B7E2D
#8B7E2D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.102 H 100.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7E2D |
|---|---|
| RGB | rgb(139, 126, 45) |
| HSL | hsl(52, 51%, 36%) |
| HSV | hsv(52, 68%, 55%) |
| CMYK | cmyk(0%, 9.4%, 67.6%, 45.5%) |
| CIE-LAB | lab(52.51, -5.10, 44.28) |
| CIE-LCH | lch(52.51, 44.57, 96.58°) |
| OKLab | oklab(58.89% -0.0179 0.1001) |
| OKLCH | oklch(58.89% 0.102 100.1) |
| XYZ | xyz(18.5828, 20.6010, 5.4797) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.57
Baby Poop
#937C00
ΔE00 4.95
Olive
#808000
ΔE00 5.49
Ugly Brown
#7D7103
ΔE00 5.90
Drab
#828344
ΔE00 5.91
Puke Brown
#947706
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7E2D #2D3A8B
analogous
#8B4F2D #8B7E2D #698B2D
triadic
#8B7E2D #2D8B7E #7E2D8B
tetradic
#8B7E2D #2D8B4F #2D3A8B #8B2D69
square
#8B7E2D #2D8B4F #2D3A8B #8B2D69
split-complementary
#8B7E2D #2D698B #4F2D8B
monochromatic
#2F2A0F #5D541E #8B7E2D #B9A83C #CDBF65
Accessibility & contrast
On white
4.10
#8B7E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8B7E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7E2D
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7E2D | 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)
#8A7A23
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8b7e2d; /* rgb */ color: rgb(139, 126, 45); /* oklch */ color: oklch(58.9% 0.102 100.1);
Tailwind
colors: {
custom: {
50: '#b0a36a',
500: '#8b7e2d',
950: '#000000',
},
}SCSS
$custom: #8b7e2d; $custom-light: #b0a36a; $custom-dark: #000000;
JSON
{
"hex": "#8b7e2d",
"rgb": {
"r": 139,
"g": 126,
"b": 45
},
"hsl": {
"h": 51.702,
"s": 51.087,
"l": 36.078
},
"oklch": {
"l": 0.58887,
"c": 0.10166,
"h": 100.1
},
"luminance": 0.206
}Semantic roles & 50–950 ramp
primary
#8B7E2D
secondary
#606CB4
accent
#61DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A