#8A893A#8A893A
#8A893A is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.102 H 108.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A893A |
|---|---|
| RGB | rgb(138, 137, 58) |
| HSL | hsl(59, 41%, 38%) |
| HSV | hsv(59, 58%, 54%) |
| CMYK | cmyk(0%, 0.7%, 58%, 45.9%) |
| CIE-LAB | lab(55.69, -10.65, 41.63) |
| CIE-LCH | lch(55.69, 42.97, 104.35°) |
| OKLab | oklab(61.43% -0.032 0.0964) |
| OKLCH | oklch(61.43% 0.102 108.4) |
| XYZ | xyz(20.1912, 23.6006, 7.4939) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.72
Olive
#808000
ΔE00 5.97
Dark Khaki
#9B8F55
ΔE00 6.09
Camo
#7F8F4E
ΔE00 6.25
Khaki Green
#728639
ΔE00 6.61
Shit Green
#758000
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A893A #3A3B8A
analogous
#8A613A #8A893A #638A3A
triadic
#8A893A #3A8A89 #893A8A
tetradic
#8A893A #3A8A61 #3A3B8A #8A3A63
square
#8A893A #3A8A61 #3A3B8A #8A3A63
split-complementary
#8A893A #3A638A #613A8A
monochromatic
#343316 #5F5E28 #8A893A #B4B34D #C6C578
Accessibility & contrast
On white
3.67
#8A893A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8A893A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A893A
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A893A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A893A | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938432
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a893a; /* rgb */ color: rgb(138, 137, 58); /* oklch */ color: oklch(61.4% 0.102 108.4);
Tailwind
colors: {
custom: {
50: '#aeab73',
500: '#8a893a',
950: '#000000',
},
}SCSS
$custom: #8a893a; $custom-light: #aeab73; $custom-dark: #000000;
JSON
{
"hex": "#8a893a",
"rgb": {
"r": 138,
"g": 137,
"b": 58
},
"hsl": {
"h": 59.25,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.6143,
"c": 0.10159,
"h": 108.4
},
"luminance": 0.236
}Semantic roles & 50–950 ramp
primary
#8A893A
secondary
#7071B0
accent
#59D157
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B