#7C868A#7C868A

#7C868A is a mid, near-neutral grey. Relative luminance 0.232; OKLCH L 61.3% C 0.013 H 223.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C868A
RGBrgb(124, 134, 138)
HSLhsl(197, 6%, 51%)
HSVhsv(197, 10%, 54%)
CMYKcmyk(10.1%, 2.9%, 0%, 45.9%)
CIE-LABlab(55.25, -2.81, -3.40)
CIE-LCHlch(55.25, 4.41, 230.47°)
OKLaboklab(61.31% -0.0096 -0.0091)
OKLCHoklch(61.31% 0.013 223.6)
XYZxyz(21.4237, 23.1700, 27.3834)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C868A #8A807C
analogous
#7C8A87 #7C868A #7C7F8A
triadic
#7C868A #8A7C86 #868A7C
tetradic
#7C868A #877C8A #8A807C #7F8A7C
square
#7C868A #877C8A #8A807C #7F8A7C
split-complementary
#7C868A #8A7C7F #8A877C
monochromatic
#42474A #5F676A #7C868A #9CA4A7 #BDC2C4

Accessibility & contrast

On white

3.73
#7C868A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7C868A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C868A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C868A#FFFFFF#000000##000000
##7C868A1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84858A
Deuteranopia (green-blind)
#81838A
Tritanopia (blue-blind)
#788787
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c868a;
/* rgb */ color: rgb(124, 134, 138);
/* oklch */ color: oklch(61.3% 0.013 223.6);
Tailwind
colors: {
  custom: {
    50: '#a2a9ac',
    500: '#7c868a',
    950: '#000000',
  },
}
SCSS
$custom: #7c868a;
$custom-light: #a2a9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c868a",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 138
  },
  "hsl": {
    "h": 197.143,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.01326,
    "h": 223.6
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#7C868A
secondary
#B4B0AE
accent
#8879AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F10
muted
#7E7F7F

Preview Lab

Preview with #7C868A

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

Preview Lab → · Contrast checker → · Palette generator →

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