#8B7C1D#8B7C1D
#8B7C1D is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.111 H 99.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7C1D |
|---|---|
| RGB | rgb(139, 124, 29) |
| HSL | hsl(52, 65%, 33%) |
| HSV | hsv(52, 79%, 55%) |
| CMYK | cmyk(0%, 10.8%, 79.1%, 45.5%) |
| CIE-LAB | lab(51.83, -4.83, 50.08) |
| CIE-LCH | lch(51.83, 50.31, 95.51°) |
| OKLab | oklab(58.31% -0.0189 0.1093) |
| OKLCH | oklch(58.31% 0.111 99.8) |
| XYZ | xyz(18.0778, 19.9939, 4.0691) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.28
Hazel
#8E7618
ΔE00 3.41
Ugly Brown
#7D7103
ΔE00 4.72
Puke Brown
#947706
ΔE00 4.73
Olive
#808000
ΔE00 4.95
Poo
#8F7303
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7C1D #1D2C8B
analogous
#8B451D #8B7C1D #638B1D
triadic
#8B7C1D #1D8B7C #7C1D8B
tetradic
#8B7C1D #1D8B45 #1D2C8B #8B1D63
square
#8B7C1D #1D8B45 #1D2C8B #8B1D63
split-complementary
#8B7C1D #1D638B #451D8B
monochromatic
#262208 #584F12 #8B7C1D #BEA928 #D9C549
Accessibility & contrast
On white
4.20
#8B7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8B7C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7C1D
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7C1D | 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)
#897807
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#96726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b7c1d; /* rgb */ color: rgb(139, 124, 29); /* oklch */ color: oklch(58.3% 0.111 99.8);
Tailwind
colors: {
custom: {
50: '#b0a162',
500: '#8b7c1d',
950: '#000000',
},
}SCSS
$custom: #8b7c1d; $custom-light: #b0a162; $custom-dark: #000000;
JSON
{
"hex": "#8b7c1d",
"rgb": {
"r": 139,
"g": 124,
"b": 29
},
"hsl": {
"h": 51.818,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.58311,
"c": 0.11092,
"h": 99.8
},
"luminance": 0.19993
}Semantic roles & 50–950 ramp
primary
#8B7C1D
secondary
#4958BB
accent
#56E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A