#948C8A#948C8A
#948C8A is a light, near-neutral grey. Relative luminance 0.269; OKLCH L 64.6% C 0.010 H 34.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #948C8A |
|---|---|
| RGB | rgb(148, 140, 138) |
| HSL | hsl(12, 4%, 56%) |
| HSV | hsv(12, 7%, 58%) |
| CMYK | cmyk(0%, 5.4%, 6.8%, 42%) |
| CIE-LAB | lab(58.87, 2.60, 2.13) |
| CIE-LCH | lch(58.87, 3.36, 39.35°) |
| OKLab | oklab(64.64% 0.0083 0.0057) |
| OKLCH | oklch(64.64% 0.01 34.3) |
| XYZ | xyz(26.1777, 26.8873, 27.8505) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 2.75
Gray
#808080
ΔE00 6.36
Grey
#929591
ΔE00 6.81
Medium Grey
#7D7F7C
ΔE00 7.96
Stone
#A89F91
ΔE00 8.53
Taupe
#8B7D6B
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C8A #8A9294
analogous
#948A8D #948C8A #94918A
triadic
#948C8A #8A948C #8C8A94
tetradic
#948C8A #8D948A #8A9294 #918A94
square
#948C8A #8D948A #8A9294 #918A94
split-complementary
#948C8A #8A9491 #8A8D94
monochromatic
#55504E #756D6B #948C8A #B1ABAA #CECBCA
Accessibility & contrast
On white
3.29
#948C8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#948C8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C8A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C8A | 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)
#8E8D8A
Deuteranopia (green-blind)
#8F8E8A
Tritanopia (blue-blind)
#968B8B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #948c8a; /* rgb */ color: rgb(148, 140, 138); /* oklch */ color: oklch(64.6% 0.010 34.3);
Tailwind
colors: {
custom: {
50: '#b3adac',
500: '#948c8a',
950: '#000000',
},
}SCSS
$custom: #948c8a; $custom-light: #b3adac; $custom-dark: #000000;
JSON
{
"hex": "#948c8a",
"rgb": {
"r": 148,
"g": 140,
"b": 138
},
"hsl": {
"h": 12,
"s": 4.464,
"l": 56.078
},
"oklch": {
"l": 0.64642,
"c": 0.01005,
"h": 34.3
},
"luminance": 0.26887
}Semantic roles & 50–950 ramp
primary
#948C8A
secondary
#BBBEBF
accent
#A3AE7A
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F