#8A832B#8A832B
#8A832B is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.108 H 104.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A832B |
|---|---|
| RGB | rgb(138, 131, 43) |
| HSL | hsl(56, 52%, 35%) |
| HSV | hsv(56, 69%, 54%) |
| CMYK | cmyk(0%, 5.1%, 68.8%, 45.9%) |
| CIE-LAB | lab(53.83, -8.44, 46.49) |
| CIE-LCH | lch(53.83, 47.25, 100.29°) |
| OKLab | oklab(59.9% -0.0275 0.1044) |
| OKLCH | oklch(59.9% 0.108 104.8) |
| XYZ | xyz(19.0343, 21.8110, 5.4923) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.03
Drab
#828344
ΔE00 5.21
Baby Poop
#937C00
ΔE00 6.13
Shit Green
#758000
ΔE00 6.15
Hazel
#8E7618
ΔE00 6.75
Swamp Green
#748500
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A832B #2B328A
analogous
#8A532B #8A832B #618A2B
triadic
#8A832B #2B8A83 #832B8A
tetradic
#8A832B #2B8A53 #2B328A #8A2B61
square
#8A832B #2B8A53 #2B328A #8A2B61
split-complementary
#8A832B #2B618A #532B8A
monochromatic
#2D2A0E #5B571C #8A832B #B9AF3A #CEC661
Accessibility & contrast
On white
3.92
#8A832B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#8A832B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A832B
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A832B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A832B | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1F
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#947A71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8a832b; /* rgb */ color: rgb(138, 131, 43); /* oklch */ color: oklch(59.9% 0.108 104.8);
Tailwind
colors: {
custom: {
50: '#afa66a',
500: '#8a832b',
950: '#000000',
},
}SCSS
$custom: #8a832b; $custom-light: #afa66a; $custom-dark: #000000;
JSON
{
"hex": "#8a832b",
"rgb": {
"r": 138,
"g": 131,
"b": 43
},
"hsl": {
"h": 55.579,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.59905,
"c": 0.108,
"h": 104.8
},
"luminance": 0.2181
}Semantic roles & 50–950 ramp
primary
#8A832B
secondary
#5D63B4
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A