#8A882A#8A882A
#8A882A is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.114 H 108.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A882A |
|---|---|
| RGB | rgb(138, 136, 42) |
| HSL | hsl(59, 53%, 35%) |
| HSV | hsv(59, 70%, 54%) |
| CMYK | cmyk(0%, 1.4%, 69.6%, 45.9%) |
| CIE-LAB | lab(55.26, -11.22, 48.36) |
| CIE-LCH | lch(55.26, 49.65, 103.06°) |
| OKLab | oklab(61.04% -0.0355 0.1082) |
| OKLCH | oklch(61.04% 0.114 108.1) |
| XYZ | xyz(19.7040, 23.1794, 5.6262) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.11
Drab
#828344
ΔE00 5.55
Shit Green
#758000
ΔE00 5.65
Swamp Green
#748500
ΔE00 5.89
Baby Shit Green
#889717
ΔE00 6.38
Baby Poop Green
#8F9805
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A882A #2A2C8A
analogous
#8A582A #8A882A #5C8A2A
triadic
#8A882A #2A8A88 #882A8A
tetradic
#8A882A #2A8A58 #2A2C8A #8A2A5C
square
#8A882A #2A8A58 #2A2C8A #8A2A5C
split-complementary
#8A882A #2A5C8A #582A8A
monochromatic
#2C2C0D #5B5A1C #8A882A #B9B638 #CFCC60
Accessibility & contrast
On white
3.73
#8A882A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#8A882A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A882A
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A882A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A882A | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a882a; /* rgb */ color: rgb(138, 136, 42); /* oklch */ color: oklch(61.0% 0.114 108.1);
Tailwind
colors: {
custom: {
50: '#afaa6a',
500: '#8a882a',
950: '#000000',
},
}SCSS
$custom: #8a882a; $custom-light: #afaa6a; $custom-dark: #000000;
JSON
{
"hex": "#8a882a",
"rgb": {
"r": 138,
"g": 136,
"b": 42
},
"hsl": {
"h": 58.75,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.61042,
"c": 0.11388,
"h": 108.1
},
"luminance": 0.23179
}Semantic roles & 50–950 ramp
primary
#8A882A
secondary
#5B5DB4
accent
#4EDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A