#8B7B1E#8B7B1E
#8B7B1E 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 | #8B7B1E |
|---|---|
| RGB | rgb(139, 123, 30) |
| HSL | hsl(51, 64%, 33%) |
| HSV | hsv(51, 78%, 55%) |
| CMYK | cmyk(0%, 11.5%, 78.4%, 45.5%) |
| CIE-LAB | lab(51.55, -4.23, 49.47) |
| CIE-LCH | lch(51.55, 49.65, 94.88°) |
| OKLab | oklab(58.09% -0.0171 0.1082) |
| OKLCH | oklch(58.09% 0.11 99) |
| XYZ | xyz(17.9657, 19.7495, 4.0938) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.97
Baby Poop
#937C00
ΔE00 3.25
Puke Brown
#947706
ΔE00 4.42
Ugly Brown
#7D7103
ΔE00 4.55
Poo
#8F7303
ΔE00 4.64
Olive
#808000
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7B1E #1E2E8B
analogous
#8B451E #8B7B1E #648B1E
triadic
#8B7B1E #1E8B7B #7B1E8B
tetradic
#8B7B1E #1E8B45 #1E2E8B #8B1E64
square
#8B7B1E #1E8B45 #1E2E8B #8B1E64
split-complementary
#8B7B1E #1E648B #451E8B
monochromatic
#262208 #594E13 #8B7B1E #BDA829 #D8C34B
Accessibility & contrast
On white
4.24
#8B7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8B7B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7B1E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7B1E | 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)
#88780A
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#967169
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8b7b1e; /* rgb */ color: rgb(139, 123, 30); /* oklch */ color: oklch(58.1% 0.110 99.0);
Tailwind
colors: {
custom: {
50: '#b0a062',
500: '#8b7b1e',
950: '#000000',
},
}SCSS
$custom: #8b7b1e; $custom-light: #b0a062; $custom-dark: #000000;
JSON
{
"hex": "#8b7b1e",
"rgb": {
"r": 139,
"g": 123,
"b": 30
},
"hsl": {
"h": 51.193,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.58093,
"c": 0.10954,
"h": 99
},
"luminance": 0.19749
}Semantic roles & 50–950 ramp
primary
#8B7B1E
secondary
#4A5BBB
accent
#59E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A