#7C8A7B#7C8A7B

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

Color values

HEX#7C8A7B
RGBrgb(124, 138, 123)
HSLhsl(116, 6%, 51%)
HSVhsv(116, 11%, 54%)
CMYKcmyk(10.1%, 0%, 10.9%, 45.9%)
CIE-LABlab(55.98, -8.10, 6.32)
CIE-LCHlch(55.98, 10.27, 142.07°)
OKLaboklab(61.76% -0.0221 0.0164)
OKLCHoklch(61.76% 0.028 143.4)
XYZxyz(20.9751, 23.8919, 22.2416)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A7B #897B8A
analogous
#838A7B #7C8A7B #7B8A81
triadic
#7C8A7B #7B7C8A #8A7B7C
tetradic
#7C8A7B #7B838A #897B8A #8A817B
square
#7C8A7B #7B838A #897B8A #8A817B
split-complementary
#7C8A7B #817B8A #8A7B83
monochromatic
#424941 #5F6A5E #7C8A7B #9CA79B #BCC4BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A7B#FFFFFF#000000##000000
##7C8A7B1.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)
#8B877A
Deuteranopia (green-blind)
#88867C
Tritanopia (blue-blind)
#7B8986
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8a7b;
/* rgb */ color: rgb(124, 138, 123);
/* oklch */ color: oklch(61.8% 0.028 143.4);
Tailwind
colors: {
  custom: {
    50: '#a2aca1',
    500: '#7c8a7b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a7b;
$custom-light: #a2aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a7b",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 123
  },
  "hsl": {
    "h": 116,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.02755,
    "h": 143.4
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#7C8A7B
secondary
#B3ADB4
accent
#79AFAB
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100E
muted
#7E7F7E

Preview Lab

Preview with #7C8A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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