#8A8A57#8A8A57
#8A8A57 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.071 H 108.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A57 |
|---|---|
| RGB | rgb(138, 138, 87) |
| HSL | hsl(60, 23%, 44%) |
| HSV | hsv(60, 37%, 54%) |
| CMYK | cmyk(0%, 0%, 37%, 45.9%) |
| CIE-LAB | lab(56.36, -8.22, 27.35) |
| CIE-LCH | lch(56.36, 28.56, 106.73°) |
| OKLab | oklab(62.09% -0.0222 0.0672) |
| OKLCH | oklch(62.09% 0.071 108.3) |
| XYZ | xyz(21.2902, 24.2688, 12.5778) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.92
Dark Khaki
#9B8F55
ΔE00 5.09
Camo
#7F8F4E
ΔE00 5.27
Moss Green
#8A9A5B
ΔE00 6.59
Brown Grey
#8D8468
ΔE00 7.70
Khaki Green
#728639
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A57 #57578A
analogous
#8A7157 #8A8A57 #718A57
triadic
#8A8A57 #578A8A #8A578A
tetradic
#8A8A57 #578A71 #57578A #8A5771
square
#8A8A57 #578A71 #57578A #8A5771
split-complementary
#8A8A57 #57718A #71578A
monochromatic
#3F3F28 #64643F #8A8A57 #A8A876 #C0C09B
Accessibility & contrast
On white
3.59
#8A8A57 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8A8A57 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A57
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A57 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928653
Deuteranopia (green-blind)
#938859
Tritanopia (blue-blind)
#91847D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a57; /* rgb */ color: rgb(138, 138, 87); /* oklch */ color: oklch(62.1% 0.071 108.3);
Tailwind
colors: {
custom: {
50: '#adac87',
500: '#8a8a57',
950: '#000000',
},
}SCSS
$custom: #8a8a57; $custom-light: #adac87; $custom-dark: #000000;
JSON
{
"hex": "#8a8a57",
"rgb": {
"r": 138,
"g": 138,
"b": 87
},
"hsl": {
"h": 60,
"s": 22.667,
"l": 44.118
},
"oklch": {
"l": 0.62087,
"c": 0.07075,
"h": 108.3
},
"luminance": 0.24268
}Semantic roles & 50–950 ramp
primary
#8A8A57
secondary
#8F8FAE
accent
#69BF69
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C