#7C8C8A#7C8C8A

#7C8C8A is a light, near-neutral grey. Relative luminance 0.249; OKLCH L 62.7% C 0.019 H 187.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7C8C8A
RGBrgb(124, 140, 138)
HSLhsl(173, 7%, 52%)
HSVhsv(173, 11%, 55%)
CMYKcmyk(11.4%, 0%, 1.4%, 45.1%)
CIE-LABlab(56.95, -6.18, -0.89)
CIE-LCHlch(56.95, 6.25, 188.24°)
OKLaboklab(62.66% -0.0186 -0.0025)
OKLCHoklch(62.66% 0.019 187.6)
XYZxyz(22.2766, 24.8758, 27.6677)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C8A #8C7C7E
analogous
#7C8C82 #7C8C8A #7C868C
triadic
#7C8C8A #8A7C8C #8C8A7C
tetradic
#7C8C8A #827C8C #8C7C7E #868C7C
square
#7C8C8A #827C8C #8C7C7E #868C7C
split-complementary
#7C8C8A #8C7C86 #8C827C
monochromatic
#424B4A #5F6C6A #7C8C8A #9DA9A7 #BDC5C4

Accessibility & contrast

On white

3.51
#7C8C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7C8C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C8A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C8A#FFFFFF#000000##000000
##7C8C8A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8A8A
Deuteranopia (green-blind)
#87888A
Tritanopia (blue-blind)
#788D8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c8c8a;
/* rgb */ color: rgb(124, 140, 138);
/* oklch */ color: oklch(62.7% 0.019 187.6);
Tailwind
colors: {
  custom: {
    50: '#a2adac',
    500: '#7c8c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c8a;
$custom-light: #a2adac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c8a",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 172.5,
    "s": 6.504,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.01876,
    "h": 187.6
  },
  "luminance": 0.24876
}

Semantic roles & 50–950 ramp

primary
#7C8C8A
secondary
#B5AEAF
accent
#787FB0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C8C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva