#9A8A8A#9A8A8A
#9A8A8A is a light, near-neutral grey. Relative luminance 0.269; OKLCH L 64.8% C 0.019 H 17.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8A8A |
|---|---|
| RGB | rgb(154, 138, 138) |
| HSL | hsl(0, 7%, 57%) |
| HSV | hsv(0, 10%, 60%) |
| CMYK | cmyk(0%, 10.4%, 10.4%, 39.6%) |
| CIE-LAB | lab(58.87, 6.00, 2.19) |
| CIE-LCH | lch(58.87, 6.38, 20.06°) |
| OKLab | oklab(64.77% 0.0184 0.0059) |
| OKLCH | oklch(64.77% 0.019 17.7) |
| XYZ | xyz(27.0020, 26.8825, 27.8062) |
| Luminance | 0.2688 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 3.81
Gray
#808080
ΔE00 9.10
Reddish Grey
#997570
ΔE00 9.49
Rosybrown
#BC8F8F
ΔE00 10.22
Purpley Grey
#947E94
ΔE00 10.22
Stone
#A89F91
ΔE00 10.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8A8A #8A9A9A
analogous
#9A8A92 #9A8A8A #9A928A
triadic
#9A8A8A #8A9A8A #8A8A9A
tetradic
#9A8A8A #929A8A #8A9A9A #928A9A
square
#9A8A8A #929A8A #8A9A9A #928A9A
split-complementary
#9A8A8A #8A9A92 #8A929A
monochromatic
#5B4F4F #7C6B6B #9A8A8A #B6ABAB #D3CCCC
Accessibility & contrast
On white
3.29
#9A8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9A8A8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8A8A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8A8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8A8A | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D8C8A
Deuteranopia (green-blind)
#908F8A
Tritanopia (blue-blind)
#9E898A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9a8a8a; /* rgb */ color: rgb(154, 138, 138); /* oklch */ color: oklch(64.8% 0.019 17.7);
Tailwind
colors: {
custom: {
50: '#b7acac',
500: '#9a8a8a',
950: '#000000',
},
}SCSS
$custom: #9a8a8a; $custom-light: #b7acac; $custom-dark: #000000;
JSON
{
"hex": "#9a8a8a",
"rgb": {
"r": 154,
"g": 138,
"b": 138
},
"hsl": {
"h": 0,
"s": 7.339,
"l": 57.255
},
"oklch": {
"l": 0.64767,
"c": 0.01932,
"h": 17.7
},
"luminance": 0.26882
}Semantic roles & 50–950 ramp
primary
#9A8A8A
secondary
#BDC3C3
accent
#B0B077
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F