#8C8A7E#8C8A7E
#8C8A7E is a light, near-neutral grey. Relative luminance 0.253; OKLCH L 63.2% C 0.018 H 99.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A7E |
|---|---|
| RGB | rgb(140, 138, 126) |
| HSL | hsl(51, 6%, 52%) |
| HSV | hsv(51, 10%, 55%) |
| CMYK | cmyk(0%, 1.4%, 10%, 45.1%) |
| CIE-LAB | lab(57.33, -1.49, 6.69) |
| CIE-LCH | lch(57.33, 6.86, 102.58°) |
| OKLab | oklab(63.16% -0.0028 0.0175) |
| OKLCH | oklch(63.16% 0.018 99.1) |
| XYZ | xyz(23.6692, 25.2589, 23.3632) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Grey
#929591
ΔE00 5.57
Medium Grey
#7D7F7C
ΔE00 6.13
Brown Grey
#8D8468
ΔE00 6.74
Gray
#808080
ΔE00 7.03
Taupe
#8B7D6B
ΔE00 7.34
Warm Grey
#978A84
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A7E #7E808C
analogous
#8C837E #8C8A7E #878C7E
triadic
#8C8A7E #7E8C8A #8A7E8C
tetradic
#8C8A7E #7E8C83 #7E808C #8C7E87
square
#8C8A7E #7E8C83 #7E808C #8C7E87
split-complementary
#8C8A7E #7E878C #837E8C
monochromatic
#4C4B44 #6C6B61 #8C8A7E #A9A79E #C6C5BF
Accessibility & contrast
On white
3.47
#8C8A7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#8C8A7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A7E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A7E | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D897D
Deuteranopia (green-blind)
#8D8A7E
Tritanopia (blue-blind)
#8E8887
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8a7e; /* rgb */ color: rgb(140, 138, 126); /* oklch */ color: oklch(63.2% 0.018 99.1);
Tailwind
colors: {
custom: {
50: '#adaca3',
500: '#8c8a7e',
950: '#000000',
},
}SCSS
$custom: #8c8a7e; $custom-light: #adaca3; $custom-dark: #000000;
JSON
{
"hex": "#8c8a7e",
"rgb": {
"r": 140,
"g": 138,
"b": 126
},
"hsl": {
"h": 51.429,
"s": 5.738,
"l": 52.157
},
"oklch": {
"l": 0.6316,
"c": 0.01769,
"h": 99.1
},
"luminance": 0.25259
}Semantic roles & 50–950 ramp
primary
#8C8A7E
secondary
#B0B1B6
accent
#81AF79
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#10100F
muted
#7F7F7F