#7C8A7F#7C8A7F

#7C8A7F is a mid, muted grey. Relative luminance 0.240; OKLCH L 61.9% C 0.023 H 151.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8A7F
RGBrgb(124, 138, 127)
HSLhsl(133, 6%, 51%)
HSVhsv(133, 10%, 54%)
CMYKcmyk(10.1%, 0%, 8%, 45.9%)
CIE-LABlab(56.08, -7.32, 4.16)
CIE-LCHlch(56.08, 8.42, 150.39°)
OKLaboklab(61.87% -0.0204 0.0109)
OKLCHoklch(61.87% 0.023 151.9)
XYZxyz(21.2306, 23.9941, 23.5874)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A7F #8A7C87
analogous
#808A7C #7C8A7F #7C8A86
triadic
#7C8A7F #7F7C8A #8A7F7C
tetradic
#7C8A7F #7C808A #8A7C87 #8A867C
square
#7C8A7F #7C808A #8A7C87 #8A867C
split-complementary
#7C8A7F #867C8A #8A7C80
monochromatic
#424A44 #5F6A61 #7C8A7F #9CA79F #BDC4BE

Accessibility & contrast

On white

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

On black

5.80
#7C8A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A7F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A7F#FFFFFF#000000##000000
##7C8A7F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877E
Deuteranopia (green-blind)
#888680
Tritanopia (blue-blind)
#7A8987
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a7f;
/* rgb */ color: rgb(124, 138, 127);
/* oklch */ color: oklch(61.9% 0.023 151.9);
Tailwind
colors: {
  custom: {
    50: '#a2aca4',
    500: '#7c8a7f',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a7f;
$custom-light: #a2aca4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a7f",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 127
  },
  "hsl": {
    "h": 132.857,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.02307,
    "h": 151.9
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#7C8A7F
secondary
#B4AEB3
accent
#79A3AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F100F
muted
#7E7F7F

Preview Lab

Preview with #7C8A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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