#7C8A7C#7C8A7C

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

Color values

HEX#7C8A7C
RGBrgb(124, 138, 124)
HSLhsl(120, 6%, 51%)
HSVhsv(120, 10%, 54%)
CMYKcmyk(10.1%, 0%, 10.1%, 45.9%)
CIE-LABlab(56.00, -7.91, 5.78)
CIE-LCHlch(56.00, 9.80, 143.86°)
OKLaboklab(61.78% -0.0217 0.015)
OKLCHoklch(61.78% 0.026 145.2)
XYZxyz(21.0380, 23.9170, 22.5729)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A7C #8A7C8A
analogous
#838A7C #7C8A7C #7C8A83
triadic
#7C8A7C #7C7C8A #8A7C7C
tetradic
#7C8A7C #7C838A #8A7C8A #8A837C
square
#7C8A7C #7C838A #8A7C8A #8A837C
split-complementary
#7C8A7C #837C8A #8A7C83
monochromatic
#424A42 #5F6A5F #7C8A7C #9CA79C #BDC4BD

Accessibility & contrast

On white

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

On black

5.78
#7C8A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A7C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A7C#FFFFFF#000000##000000
##7C8A7C1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a7c;
/* rgb */ color: rgb(124, 138, 124);
/* oklch */ color: oklch(61.8% 0.026 145.2);
Tailwind
colors: {
  custom: {
    50: '#a2aca1',
    500: '#7c8a7c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a7c;
$custom-light: #a2aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a7c",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 120,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.02639,
    "h": 145.2
  },
  "luminance": 0.23917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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