#8B7C1C#8B7C1C
#8B7C1C is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.111 H 99.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7C1C |
|---|---|
| RGB | rgb(139, 124, 28) |
| HSL | hsl(52, 66%, 33%) |
| HSV | hsv(52, 80%, 55%) |
| CMYK | cmyk(0%, 10.8%, 79.9%, 45.5%) |
| CIE-LAB | lab(51.82, -4.87, 50.43) |
| CIE-LCH | lch(51.82, 50.66, 95.51°) |
| OKLab | oklab(58.3% -0.0191 0.1098) |
| OKLCH | oklch(58.3% 0.111 99.9) |
| XYZ | xyz(18.0656, 19.9890, 4.0051) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.22
Hazel
#8E7618
ΔE00 3.42
Ugly Brown
#7D7103
ΔE00 4.70
Puke Brown
#947706
ΔE00 4.71
Olive
#808000
ΔE00 4.91
Poo
#8F7303
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7C1C #1C2B8B
analogous
#8B451C #8B7C1C #628B1C
triadic
#8B7C1C #1C8B7C #7C1C8B
tetradic
#8B7C1C #1C8B45 #1C2B8B #8B1C62
square
#8B7C1C #1C8B45 #1C2B8B #8B1C62
split-complementary
#8B7C1C #1C628B #451C8B
monochromatic
#252107 #584F12 #8B7C1C #BEA926 #DAC647
Accessibility & contrast
On white
4.20
#8B7C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8B7C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7C1C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7C1C | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897805
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#96726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b7c1c; /* rgb */ color: rgb(139, 124, 28); /* oklch */ color: oklch(58.3% 0.111 99.9);
Tailwind
colors: {
custom: {
50: '#b1a161',
500: '#8b7c1c',
950: '#000000',
},
}SCSS
$custom: #8b7c1c; $custom-light: #b1a161; $custom-dark: #000000;
JSON
{
"hex": "#8b7c1c",
"rgb": {
"r": 139,
"g": 124,
"b": 28
},
"hsl": {
"h": 51.892,
"s": 66.467,
"l": 32.745
},
"oklch": {
"l": 0.58305,
"c": 0.11147,
"h": 99.9
},
"luminance": 0.19988
}Semantic roles & 50–950 ramp
primary
#8B7C1C
secondary
#4757BC
accent
#56E93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A