#7C8A7E#7C8A7E

#7C8A7E is a mid, muted grey. Relative luminance 0.240; OKLCH L 61.8% C 0.024 H 149.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7C8A7E
RGBrgb(124, 138, 126)
HSLhsl(129, 6%, 51%)
HSVhsv(129, 10%, 54%)
CMYKcmyk(10.1%, 0%, 8.7%, 45.9%)
CIE-LABlab(56.06, -7.52, 4.70)
CIE-LCHlch(56.06, 8.87, 148.00°)
OKLaboklab(61.84% -0.0208 0.0123)
OKLCHoklch(61.84% 0.024 149.5)
XYZxyz(21.1658, 23.9681, 23.2458)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A7E #8A7C88
analogous
#818A7C #7C8A7E #7C8A85
triadic
#7C8A7E #7E7C8A #8A7E7C
tetradic
#7C8A7E #7C818A #8A7C88 #8A857C
square
#7C8A7E #7C818A #8A7C88 #8A857C
split-complementary
#7C8A7E #857C8A #8A7C81
monochromatic
#424A43 #5F6A60 #7C8A7E #9CA79E #BDC4BE

Accessibility & contrast

On white

3.62
#7C8A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7C8A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A7E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A7E#FFFFFF#000000##000000
##7C8A7E1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877D
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#7A8986
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a7e;
/* rgb */ color: rgb(124, 138, 126);
/* oklch */ color: oklch(61.8% 0.024 149.5);
Tailwind
colors: {
  custom: {
    50: '#a2aca3',
    500: '#7c8a7e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a7e;
$custom-light: #a2aca3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a7e",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 128.571,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.02414,
    "h": 149.5
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#7C8A7E
secondary
#B4AEB3
accent
#79A7AF
background
#F9FAFA
surface
#F2F4F3
border
#CCCECD
text
#0F100F
muted
#7E7F7F

Preview Lab

Preview with #7C8A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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