#8A892A#8A892A
#8A892A is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.115 H 108.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A892A |
|---|---|
| RGB | rgb(138, 137, 42) |
| HSL | hsl(59, 53%, 35%) |
| HSV | hsv(59, 70%, 54%) |
| CMYK | cmyk(0%, 0.7%, 69.6%, 45.9%) |
| CIE-LAB | lab(55.55, -11.76, 48.65) |
| CIE-LCH | lch(55.55, 50.05, 103.59°) |
| OKLab | oklab(61.27% -0.037 0.1088) |
| OKLCH | oklch(61.27% 0.115 108.8) |
| XYZ | xyz(19.8455, 23.4624, 5.6733) |
| Luminance | 0.2346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.28
Shit Green
#758000
ΔE00 5.67
Drab
#828344
ΔE00 5.69
Swamp Green
#748500
ΔE00 5.75
Baby Shit Green
#889717
ΔE00 5.97
Baby Poop Green
#8F9805
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A892A #2A2B8A
analogous
#8A592A #8A892A #5B8A2A
triadic
#8A892A #2A8A89 #892A8A
tetradic
#8A892A #2A8A59 #2A2B8A #8A2A5B
square
#8A892A #2A8A59 #2A2B8A #8A2A5B
split-complementary
#8A892A #2A5B8A #592A8A
monochromatic
#2C2C0D #5B5A1C #8A892A #B9B838 #CFCD60
Accessibility & contrast
On white
3.69
#8A892A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#8A892A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A892A
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A892A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A892A | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a892a; /* rgb */ color: rgb(138, 137, 42); /* oklch */ color: oklch(61.3% 0.115 108.8);
Tailwind
colors: {
custom: {
50: '#afab6a',
500: '#8a892a',
950: '#000000',
},
}SCSS
$custom: #8a892a; $custom-light: #afab6a; $custom-dark: #000000;
JSON
{
"hex": "#8a892a",
"rgb": {
"r": 138,
"g": 137,
"b": 42
},
"hsl": {
"h": 59.375,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.61273,
"c": 0.11494,
"h": 108.8
},
"luminance": 0.23462
}Semantic roles & 50–950 ramp
primary
#8A892A
secondary
#5B5CB4
accent
#4DDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A