#7C8A7D#7C8A7D

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

Color values

HEX#7C8A7D
RGBrgb(124, 138, 125)
HSLhsl(124, 6%, 51%)
HSVhsv(124, 10%, 54%)
CMYKcmyk(10.1%, 0%, 9.4%, 45.9%)
CIE-LABlab(56.03, -7.72, 5.24)
CIE-LCHlch(56.03, 9.33, 145.83°)
OKLaboklab(61.81% -0.0212 0.0137)
OKLCHoklch(61.81% 0.025 147.3)
XYZxyz(21.1016, 23.9425, 22.9077)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A7D #8A7C89
analogous
#828A7C #7C8A7D #7C8A84
triadic
#7C8A7D #7D7C8A #8A7D7C
tetradic
#7C8A7D #7C828A #8A7C89 #8A847C
square
#7C8A7D #7C828A #8A7C89 #8A847C
split-complementary
#7C8A7D #847C8A #8A7C82
monochromatic
#424A42 #5F6A60 #7C8A7D #9CA79D #BDC4BD

Accessibility & contrast

On white

3.63
#7C8A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A7D#FFFFFF#000000##000000
##7C8A7D1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877C
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#7B8986
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a7d;
/* rgb */ color: rgb(124, 138, 125);
/* oklch */ color: oklch(61.8% 0.025 147.3);
Tailwind
colors: {
  custom: {
    50: '#a2aca2',
    500: '#7c8a7d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a7d;
$custom-light: #a2aca2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a7d",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 125
  },
  "hsl": {
    "h": 124.286,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.02525,
    "h": 147.3
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

primary
#7C8A7D
secondary
#B4AEB4
accent
#79ABAF
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100F
muted
#7E7F7E

Preview Lab

Preview with #7C8A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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