#8B812E#8B812E
#8B812E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.104 H 102.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8B812E |
|---|---|
| RGB | rgb(139, 129, 46) |
| HSL | hsl(54, 50%, 36%) |
| HSV | hsv(54, 67%, 55%) |
| CMYK | cmyk(0%, 7.2%, 66.9%, 45.5%) |
| CIE-LAB | lab(53.37, -6.70, 44.74) |
| CIE-LCH | lch(53.37, 45.23, 98.52°) |
| OKLab | oklab(59.57% -0.0223 0.1012) |
| OKLCH | oklch(59.57% 0.104 102.4) |
| XYZ | xyz(18.9916, 21.3875, 5.7121) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.83
Drab
#828344
ΔE00 5.25
Baby Poop
#937C00
ΔE00 5.60
Hazel
#8E7618
ΔE00 5.78
Ugly Brown
#7D7103
ΔE00 6.70
Shit Green
#758000
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B812E #2E388B
analogous
#8B532E #8B812E #678B2E
triadic
#8B812E #2E8B81 #812E8B
tetradic
#8B812E #2E8B53 #2E388B #8B2E67
square
#8B812E #2E8B53 #2E388B #8B2E67
split-complementary
#8B812E #2E678B #532E8B
monochromatic
#2F2C10 #5D561F #8B812E #B9AC3D #CDC267
Accessibility & contrast
On white
3.98
#8B812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8B812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B812E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B812E | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#957870
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8b812e; /* rgb */ color: rgb(139, 129, 46); /* oklch */ color: oklch(59.6% 0.104 102.4);
Tailwind
colors: {
custom: {
50: '#b0a56b',
500: '#8b812e',
950: '#000000',
},
}SCSS
$custom: #8b812e; $custom-light: #b0a56b; $custom-dark: #000000;
JSON
{
"hex": "#8b812e",
"rgb": {
"r": 139,
"g": 129,
"b": 46
},
"hsl": {
"h": 53.548,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.59573,
"c": 0.10364,
"h": 102.4
},
"luminance": 0.21387
}Semantic roles & 50–950 ramp
primary
#8B812E
secondary
#616AB3
accent
#5DDA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A