#8B7D2B#8B7D2B
#8B7D2B is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.102 H 99.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7D2B |
|---|---|
| RGB | rgb(139, 125, 43) |
| HSL | hsl(51, 53%, 36%) |
| HSV | hsv(51, 69%, 55%) |
| CMYK | cmyk(0%, 10.1%, 69.1%, 45.5%) |
| CIE-LAB | lab(52.21, -4.67, 44.86) |
| CIE-LCH | lch(52.21, 45.10, 95.95°) |
| OKLab | oklab(58.64% -0.0169 0.101) |
| OKLCH | oklch(58.64% 0.102 99.5) |
| XYZ | xyz(18.4179, 20.3315, 5.2393) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.09
Baby Poop
#937C00
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 5.57
Olive
#808000
ΔE00 5.60
Puke Brown
#947706
ΔE00 5.66
Poo
#8F7303
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7D2B #2B398B
analogous
#8B4D2B #8B7D2B #698B2B
triadic
#8B7D2B #2B8B7D #7D2B8B
tetradic
#8B7D2B #2B8B4D #2B398B #8B2B69
square
#8B7D2B #2B8B4D #2B398B #8B2B69
split-complementary
#8B7D2B #2B698B #4D2B8B
monochromatic
#2E290E #5C531D #8B7D2B #BAA739 #CEBF62
Accessibility & contrast
On white
4.15
#8B7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#8B7D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7D2B
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7D2B | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A20
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b7d2b; /* rgb */ color: rgb(139, 125, 43); /* oklch */ color: oklch(58.6% 0.102 99.5);
Tailwind
colors: {
custom: {
50: '#b0a269',
500: '#8b7d2b',
950: '#000000',
},
}SCSS
$custom: #8b7d2b; $custom-light: #b0a269; $custom-dark: #000000;
JSON
{
"hex": "#8b7d2b",
"rgb": {
"r": 139,
"g": 125,
"b": 43
},
"hsl": {
"h": 51.25,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.58643,
"c": 0.10236,
"h": 99.5
},
"luminance": 0.20331
}Semantic roles & 50–950 ramp
primary
#8B7D2B
secondary
#5D6AB5
accent
#61DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A