#7C867E#7C867E

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

Color values

HEX#7C867E
RGBrgb(124, 134, 126)
HSLhsl(132, 4%, 51%)
HSVhsv(132, 7%, 53%)
CMYKcmyk(7.5%, 0%, 6%, 47.5%)
CIE-LABlab(54.91, -5.29, 3.04)
CIE-LCHlch(54.91, 6.10, 150.07°)
OKLaboklab(60.93% -0.0147 0.008)
OKLCHoklch(60.93% 0.017 151.6)
XYZxyz(20.6024, 22.8414, 23.0580)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C867E #867C84
analogous
#7F867C #7C867E #7C8683
triadic
#7C867E #7E7C86 #867E7C
tetradic
#7C867E #7C7F86 #867C84 #86837C
square
#7C867E #7C7F86 #867C84 #86837C
split-complementary
#7C867E #837C86 #867C7F
monochromatic
#414642 #5E6660 #7C867E #9CA39D #BCC1BD

Accessibility & contrast

On white

3.77
#7C867E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7C867E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C867E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C867E#FFFFFF#000000##000000
##7C867E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847E
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#7B8684
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c867e;
/* rgb */ color: rgb(124, 134, 126);
/* oklch */ color: oklch(60.9% 0.017 151.6);
Tailwind
colors: {
  custom: {
    50: '#a1a9a3',
    500: '#7c867e',
    950: '#000000',
  },
}
SCSS
$custom: #7c867e;
$custom-light: #a1a9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c867e",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 126
  },
  "hsl": {
    "h": 132,
    "s": 3.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.01673,
    "h": 151.6
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#7C867E
secondary
#B1ADB0
accent
#7BA3AD
background
#F9FAFA
surface
#F2F4F3
border
#CCCECD
text
#0F0F0F
muted
#7E7F7F

Preview Lab

Preview with #7C867E

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

Preview Lab → · Contrast checker → · Palette generator →

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