#8B811A#8B811A
#8B811A is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.117 H 103.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8B811A |
|---|---|
| RGB | rgb(139, 129, 26) |
| HSL | hsl(55, 68%, 32%) |
| HSV | hsv(55, 81%, 55%) |
| CMYK | cmyk(0%, 7.2%, 81.3%, 45.5%) |
| CIE-LAB | lab(53.24, -7.71, 52.35) |
| CIE-LCH | lch(53.24, 52.92, 98.38°) |
| OKLab | oklab(59.43% -0.0273 0.1136) |
| OKLCH | oklch(59.43% 0.117 103.5) |
| XYZ | xyz(18.6850, 21.2649, 4.0974) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.36
Baby Poop
#937C00
ΔE00 4.42
Hazel
#8E7618
ΔE00 5.65
Ugly Brown
#7D7103
ΔE00 6.13
Diarrhea
#9F8303
ΔE00 6.14
Shit Green
#758000
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B811A #1A248B
analogous
#8B481A #8B811A #5D8B1A
triadic
#8B811A #1A8B81 #811A8B
tetradic
#8B811A #1A8B48 #1A248B #8B1A5D
square
#8B811A #1A8B48 #1A248B #8B1A5D
split-complementary
#8B811A #1A5D8B #481A8B
monochromatic
#242107 #575110 #8B811A #BFB124 #DCCE43
Accessibility & contrast
On white
4.00
#8B811A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#8B811A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B811A
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B811A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B811A | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8b811a; /* rgb */ color: rgb(139, 129, 26); /* oklch */ color: oklch(59.4% 0.117 103.5);
Tailwind
colors: {
custom: {
50: '#b1a561',
500: '#8b811a',
950: '#000000',
},
}SCSS
$custom: #8b811a; $custom-light: #b1a561; $custom-dark: #000000;
JSON
{
"hex": "#8b811a",
"rgb": {
"r": 139,
"g": 129,
"b": 26
},
"hsl": {
"h": 54.69,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.59425,
"c": 0.11678,
"h": 103.5
},
"luminance": 0.21264
}Semantic roles & 50–950 ramp
primary
#8B811A
secondary
#444EBD
accent
#4CEB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A