#8B7A1E#8B7A1E
#8B7A1E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.109 H 98.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7A1E |
|---|---|
| RGB | rgb(139, 122, 30) |
| HSL | hsl(51, 64%, 33%) |
| HSV | hsv(51, 78%, 55%) |
| CMYK | cmyk(0%, 12.2%, 78.4%, 45.5%) |
| CIE-LAB | lab(51.27, -3.67, 49.21) |
| CIE-LCH | lch(51.27, 49.34, 94.26°) |
| OKLab | oklab(57.87% -0.0155 0.1076) |
| OKLCH | oklch(57.87% 0.109 98.2) |
| XYZ | xyz(17.8422, 19.5027, 4.0526) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.54
Baby Poop
#937C00
ΔE00 3.21
Puke Brown
#947706
ΔE00 4.11
Poo
#8F7303
ΔE00 4.25
Ugly Brown
#7D7103
ΔE00 4.40
Yellowish Brown
#9B7A01
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7A1E #1E2F8B
analogous
#8B431E #8B7A1E #658B1E
triadic
#8B7A1E #1E8B7A #7A1E8B
tetradic
#8B7A1E #1E8B43 #1E2F8B #8B1E65
square
#8B7A1E #1E8B43 #1E2F8B #8B1E65
split-complementary
#8B7A1E #1E658B #431E8B
monochromatic
#262208 #594E13 #8B7A1E #BDA629 #D8C24B
Accessibility & contrast
On white
4.29
#8B7A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8B7A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7A1E
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7A1E | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#967068
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8b7a1e; /* rgb */ color: rgb(139, 122, 30); /* oklch */ color: oklch(57.9% 0.109 98.2);
Tailwind
colors: {
custom: {
50: '#b0a062',
500: '#8b7a1e',
950: '#000000',
},
}SCSS
$custom: #8b7a1e; $custom-light: #b0a062; $custom-dark: #000000;
JSON
{
"hex": "#8b7a1e",
"rgb": {
"r": 139,
"g": 122,
"b": 30
},
"hsl": {
"h": 50.642,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.57869,
"c": 0.10875,
"h": 98.2
},
"luminance": 0.19502
}Semantic roles & 50–950 ramp
primary
#8B7A1E
secondary
#4A5CBB
accent
#5AE740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A