#8B7B1D#8B7B1D
#8B7B1D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.110 H 99.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7B1D |
|---|---|
| RGB | rgb(139, 123, 29) |
| HSL | hsl(51, 65%, 33%) |
| HSV | hsv(51, 79%, 55%) |
| CMYK | cmyk(0%, 11.5%, 79.1%, 45.5%) |
| CIE-LAB | lab(51.55, -4.27, 49.82) |
| CIE-LCH | lch(51.55, 50.00, 94.90°) |
| OKLab | oklab(58.09% -0.0173 0.1087) |
| OKLCH | oklch(58.09% 0.11 99) |
| XYZ | xyz(17.9531, 19.7445, 4.0276) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.97
Baby Poop
#937C00
ΔE00 3.18
Puke Brown
#947706
ΔE00 4.39
Ugly Brown
#7D7103
ΔE00 4.52
Poo
#8F7303
ΔE00 4.62
Olive
#808000
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7B1D #1D2D8B
analogous
#8B441D #8B7B1D #648B1D
triadic
#8B7B1D #1D8B7B #7B1D8B
tetradic
#8B7B1D #1D8B44 #1D2D8B #8B1D64
square
#8B7B1D #1D8B44 #1D2D8B #8B1D64
split-complementary
#8B7B1D #1D648B #441D8B
monochromatic
#262108 #584E12 #8B7B1D #BEA828 #D9C449
Accessibility & contrast
On white
4.24
#8B7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8B7B1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7B1D
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7B1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7B1D | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#967169
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8b7b1d; /* rgb */ color: rgb(139, 123, 29); /* oklch */ color: oklch(58.1% 0.110 99.0);
Tailwind
colors: {
custom: {
50: '#b1a061',
500: '#8b7b1d',
950: '#000000',
},
}SCSS
$custom: #8b7b1d; $custom-light: #b1a061; $custom-dark: #000000;
JSON
{
"hex": "#8b7b1d",
"rgb": {
"r": 139,
"g": 123,
"b": 29
},
"hsl": {
"h": 51.273,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.58087,
"c": 0.11011,
"h": 99
},
"luminance": 0.19744
}Semantic roles & 50–950 ramp
primary
#8B7B1D
secondary
#4959BB
accent
#58E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A