#8B821E#8B821E
#8B821E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.116 H 104.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8B821E |
|---|---|
| RGB | rgb(139, 130, 30) |
| HSL | hsl(55, 64%, 33%) |
| HSV | hsv(55, 78%, 55%) |
| CMYK | cmyk(0%, 6.5%, 78.4%, 45.5%) |
| CIE-LAB | lab(53.55, -8.10, 51.31) |
| CIE-LCH | lch(53.55, 51.94, 98.97°) |
| OKLab | oklab(59.68% -0.028 0.1121) |
| OKLCH | oklch(59.68% 0.116 104) |
| XYZ | xyz(18.8653, 21.5488, 4.3936) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.35
Baby Poop
#937C00
ΔE00 4.88
Hazel
#8E7618
ΔE00 6.04
Shit Green
#758000
ΔE00 6.15
Diarrhea
#9F8303
ΔE00 6.43
Ugly Brown
#7D7103
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B821E #1E278B
analogous
#8B4B1E #8B821E #5D8B1E
triadic
#8B821E #1E8B82 #821E8B
tetradic
#8B821E #1E8B4B #1E278B #8B1E5D
square
#8B821E #1E8B4B #1E278B #8B1E5D
split-complementary
#8B821E #1E5D8B #4B1E8B
monochromatic
#262408 #595313 #8B821E #BDB129 #D8CD4B
Accessibility & contrast
On white
3.96
#8B821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8B821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B821E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B821E | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#96786F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8b821e; /* rgb */ color: rgb(139, 130, 30); /* oklch */ color: oklch(59.7% 0.116 104.0);
Tailwind
colors: {
custom: {
50: '#b0a663',
500: '#8b821e',
950: '#000000',
},
}SCSS
$custom: #8b821e; $custom-light: #b0a663; $custom-dark: #000000;
JSON
{
"hex": "#8b821e",
"rgb": {
"r": 139,
"g": 130,
"b": 30
},
"hsl": {
"h": 55.046,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.59676,
"c": 0.11556,
"h": 104
},
"luminance": 0.21548
}Semantic roles & 50–950 ramp
primary
#8B821E
secondary
#4A53BB
accent
#4EE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A