#7C867C#7C867C

#7C867C is a mid, near-neutral grey. Relative luminance 0.228; OKLCH L 60.9% C 0.019 H 145.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C867C
RGBrgb(124, 134, 124)
HSLhsl(120, 4%, 51%)
HSVhsv(120, 7%, 53%)
CMYKcmyk(7.5%, 0%, 7.5%, 47.5%)
CIE-LABlab(54.86, -5.68, 4.12)
CIE-LCHlch(54.86, 7.02, 144.03°)
OKLaboklab(60.87% -0.0156 0.0108)
OKLCHoklch(60.87% 0.019 145.3)
XYZxyz(20.4747, 22.7903, 22.3852)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C867C #867C86
analogous
#81867C #7C867C #7C8681
triadic
#7C867C #7C7C86 #867C7C
tetradic
#7C867C #7C8186 #867C86 #86817C
square
#7C867C #7C8186 #867C86 #86817C
split-complementary
#7C867C #817C86 #867C81
monochromatic
#414641 #5E665E #7C867C #9CA39C #BCC1BC

Accessibility & contrast

On white

3.78
#7C867C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7C867C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C867C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C867C#FFFFFF#000000##000000
##7C867C1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87847B
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#7B8583
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c867c;
/* rgb */ color: rgb(124, 134, 124);
/* oklch */ color: oklch(60.9% 0.019 145.3);
Tailwind
colors: {
  custom: {
    50: '#a2a9a1',
    500: '#7c867c',
    950: '#000000',
  },
}
SCSS
$custom: #7c867c;
$custom-light: #a2a9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c867c",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 124
  },
  "hsl": {
    "h": 120,
    "s": 3.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.01894,
    "h": 145.3
  },
  "luminance": 0.22791
}

Semantic roles & 50–950 ramp

primary
#7C867C
secondary
#B1ADB1
accent
#7BADAD
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F0F0F
muted
#7E7F7E

Preview Lab

Preview with #7C867C

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

Preview Lab → · Contrast checker → · Palette generator →

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