#8A8C7E#8A8C7E
#8A8C7E is a light, muted grey. Relative luminance 0.257; OKLCH L 63.4% C 0.021 H 113.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8C7E |
|---|---|
| RGB | rgb(138, 140, 126) |
| HSL | hsl(69, 6%, 52%) |
| HSV | hsv(69, 10%, 55%) |
| CMYK | cmyk(1.4%, 0%, 10%, 45.1%) |
| CIE-LAB | lab(57.72, -3.38, 7.23) |
| CIE-LCH | lch(57.72, 7.98, 115.05°) |
| OKLab | oklab(63.43% -0.0082 0.0188) |
| OKLCH | oklch(63.43% 0.021 113.6) |
| XYZ | xyz(23.6247, 25.6659, 23.4440) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Grey
#929591
ΔE00 5.75
Medium Grey
#7D7F7C
ΔE00 6.97
Brown Grey
#8D8468
ΔE00 7.32
Cement
#A5A391
ΔE00 7.98
Gray
#808080
ΔE00 8.32
Greyish
#A8A495
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8C7E #807E8C
analogous
#8C877E #8A8C7E #838C7E
triadic
#8A8C7E #7E8A8C #8C7E8A
tetradic
#8A8C7E #7E8C87 #807E8C #8C7E83
square
#8A8C7E #7E8C87 #807E8C #8C7E83
split-complementary
#8A8C7E #7E838C #877E8C
monochromatic
#4B4C44 #6B6C61 #8A8C7E #A7A99E #C5C6BF
Accessibility & contrast
On white
3.42
#8A8C7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#8A8C7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8C7E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8C7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8C7E | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8A7D
Deuteranopia (green-blind)
#8E8B7E
Tritanopia (blue-blind)
#8C8A88
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a8c7e; /* rgb */ color: rgb(138, 140, 126); /* oklch */ color: oklch(63.4% 0.021 113.6);
Tailwind
colors: {
custom: {
50: '#acada3',
500: '#8a8c7e',
950: '#000000',
},
}SCSS
$custom: #8a8c7e; $custom-light: #acada3; $custom-dark: #000000;
JSON
{
"hex": "#8a8c7e",
"rgb": {
"r": 138,
"g": 140,
"b": 126
},
"hsl": {
"h": 68.571,
"s": 5.738,
"l": 52.157
},
"oklch": {
"l": 0.63428,
"c": 0.02055,
"h": 113.6
},
"luminance": 0.25666
}Semantic roles & 50–950 ramp
primary
#8A8C7E
secondary
#B1B0B6
accent
#79AF81
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#10100F
muted
#7F7F7F