#8B861E#8B861E
#8B861E is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.119 H 106.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8B861E |
|---|---|
| RGB | rgb(139, 134, 30) |
| HSL | hsl(57, 64%, 33%) |
| HSV | hsv(57, 78%, 55%) |
| CMYK | cmyk(0%, 3.6%, 78.4%, 45.5%) |
| CIE-LAB | lab(54.69, -10.28, 52.36) |
| CIE-LCH | lch(54.69, 53.36, 101.11°) |
| OKLab | oklab(60.59% -0.0341 0.1144) |
| OKLCH | oklch(60.59% 0.119 106.6) |
| XYZ | xyz(19.4077, 22.6336, 4.5745) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.24
Shit Green
#758000
ΔE00 5.63
Swamp Green
#748500
ΔE00 6.21
Baby Poop
#937C00
ΔE00 6.29
Drab
#828344
ΔE00 6.77
Baby Poop Green
#8F9805
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B861E #1E238B
analogous
#8B4F1E #8B861E #598B1E
triadic
#8B861E #1E8B86 #861E8B
tetradic
#8B861E #1E8B4F #1E238B #8B1E59
square
#8B861E #1E8B4F #1E238B #8B1E59
split-complementary
#8B861E #1E598B #4F1E8B
monochromatic
#262508 #595513 #8B861E #BDB729 #D8D24B
Accessibility & contrast
On white
3.80
#8B861E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#8B861E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B861E
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B861E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B861E | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8b861e; /* rgb */ color: rgb(139, 134, 30); /* oklch */ color: oklch(60.6% 0.119 106.6);
Tailwind
colors: {
custom: {
50: '#b0a863',
500: '#8b861e',
950: '#000000',
},
}SCSS
$custom: #8b861e; $custom-light: #b0a863; $custom-dark: #000000;
JSON
{
"hex": "#8b861e",
"rgb": {
"r": 139,
"g": 134,
"b": 30
},
"hsl": {
"h": 57.248,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.6059,
"c": 0.11934,
"h": 106.6
},
"luminance": 0.22633
}Semantic roles & 50–950 ramp
primary
#8B861E
secondary
#4A4FBB
accent
#48E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A