#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
RGBrgb(148, 140, 138)
HSLhsl(12, 4%, 56%)
HSVhsv(12, 7%, 58%)
CMYKcmyk(0%, 5.4%, 6.8%, 42%)
CIE-LABlab(58.87, 2.60, 2.13)
CIE-LCHlch(58.87, 3.36, 39.35°)
OKLaboklab(64.64% 0.0083 0.0057)
OKLCHoklch(64.64% 0.01 34.3)
XYZxyz(26.1777, 26.8873, 27.8505)
Luminance0.2689 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##948C8A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.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

Preview Lab

Preview with #948C8A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#948C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva