#8A811B#8A811B
#8A811B is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.116 H 104.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A811B |
|---|---|
| RGB | rgb(138, 129, 27) |
| HSL | hsl(55, 67%, 32%) |
| HSV | hsv(55, 80%, 54%) |
| CMYK | cmyk(0%, 6.5%, 80.4%, 45.9%) |
| CIE-LAB | lab(53.15, -8.14, 51.92) |
| CIE-LCH | lch(53.15, 52.55, 98.91°) |
| OKLab | oklab(59.33% -0.0283 0.1129) |
| OKLCH | oklch(59.33% 0.116 104.1) |
| XYZ | xyz(18.5302, 21.1837, 4.1495) |
| Luminance | 0.2118 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.12
Baby Poop
#937C00
ΔE00 4.74
Hazel
#8E7618
ΔE00 5.85
Shit Green
#758000
ΔE00 6.00
Ugly Brown
#7D7103
ΔE00 6.11
Diarrhea
#9F8303
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A811B #1B248A
analogous
#8A491B #8A811B #5C8A1B
triadic
#8A811B #1B8A81 #811B8A
tetradic
#8A811B #1B8A49 #1B248A #8A1B5C
square
#8A811B #1B8A49 #1B248A #8A1B5C
split-complementary
#8A811B #1B5C8A #491B8A
monochromatic
#242107 #575111 #8A811B #BDB125 #DBCE45
Accessibility & contrast
On white
4.01
#8A811B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8A811B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A811B
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A811B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A811B | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#95776E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a811b; /* rgb */ color: rgb(138, 129, 27); /* oklch */ color: oklch(59.3% 0.116 104.1);
Tailwind
colors: {
custom: {
50: '#b0a561',
500: '#8a811b',
950: '#000000',
},
}SCSS
$custom: #8a811b; $custom-light: #b0a561; $custom-dark: #000000;
JSON
{
"hex": "#8a811b",
"rgb": {
"r": 138,
"g": 129,
"b": 27
},
"hsl": {
"h": 55.135,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.59334,
"c": 0.11637,
"h": 104.1
},
"luminance": 0.21183
}Semantic roles & 50–950 ramp
primary
#8A811B
secondary
#454EBC
accent
#4CEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A