#8B7C1E#8B7C1E
#8B7C1E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.110 H 99.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7C1E |
|---|---|
| RGB | rgb(139, 124, 30) |
| HSL | hsl(52, 64%, 33%) |
| HSV | hsv(52, 78%, 55%) |
| CMYK | cmyk(0%, 10.8%, 78.4%, 45.5%) |
| CIE-LAB | lab(51.84, -4.79, 49.73) |
| CIE-LCH | lch(51.84, 49.96, 95.50°) |
| OKLab | oklab(58.32% -0.0186 0.1088) |
| OKLCH | oklch(58.32% 0.11 99.7) |
| XYZ | xyz(18.0903, 19.9989, 4.1353) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.35
Hazel
#8E7618
ΔE00 3.41
Ugly Brown
#7D7103
ΔE00 4.75
Puke Brown
#947706
ΔE00 4.76
Olive
#808000
ΔE00 5.00
Poo
#8F7303
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7C1E #1E2D8B
analogous
#8B451E #8B7C1E #638B1E
triadic
#8B7C1E #1E8B7C #7C1E8B
tetradic
#8B7C1E #1E8B45 #1E2D8B #8B1E63
square
#8B7C1E #1E8B45 #1E2D8B #8B1E63
split-complementary
#8B7C1E #1E638B #451E8B
monochromatic
#262208 #594F13 #8B7C1E #BDA929 #D8C54B
Accessibility & contrast
On white
4.20
#8B7C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8B7C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7C1E
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7C1E | 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)
#89780A
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#96726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b7c1e; /* rgb */ color: rgb(139, 124, 30); /* oklch */ color: oklch(58.3% 0.110 99.7);
Tailwind
colors: {
custom: {
50: '#b0a162',
500: '#8b7c1e',
950: '#000000',
},
}SCSS
$custom: #8b7c1e; $custom-light: #b0a162; $custom-dark: #000000;
JSON
{
"hex": "#8b7c1e",
"rgb": {
"r": 139,
"g": 124,
"b": 30
},
"hsl": {
"h": 51.743,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.58318,
"c": 0.11035,
"h": 99.7
},
"luminance": 0.19998
}Semantic roles & 50–950 ramp
primary
#8B7C1E
secondary
#4A5ABB
accent
#57E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A