#7C807C#7C807C

#7C807C is a mid, near-neutral grey. Relative luminance 0.212; OKLCH L 59.5% C 0.008 H 145.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C807C
RGBrgb(124, 128, 124)
HSLhsl(120, 2%, 49%)
HSVhsv(120, 3%, 50%)
CMYKcmyk(3.1%, 0%, 3.1%, 49.8%)
CIE-LABlab(53.14, -2.29, 1.65)
CIE-LCHlch(53.14, 2.82, 144.28°)
OKLaboklab(59.52% -0.0063 0.0043)
OKLCHoklch(59.52% 0.008 145.5)
XYZxyz(19.6688, 21.1786, 22.1165)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C807C #807C80
analogous
#7E807C #7C807C #7C807E
triadic
#7C807C #7C7C80 #807C7C
tetradic
#7C807C #7C7E80 #807C80 #807E7C
square
#7C807C #7C7E80 #807C80 #807E7C
split-complementary
#7C807C #7E7C80 #807C7E
monochromatic
#404240 #5E615E #7C807C #9B9E9B #BABCBA

Accessibility & contrast

On white

4.01
#7C807C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7C807C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C807C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C807C#FFFFFF#000000##000000
##7C807C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#7F7F7C
Tritanopia (blue-blind)
#7C807F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c807c;
/* rgb */ color: rgb(124, 128, 124);
/* oklch */ color: oklch(59.5% 0.008 145.5);
Tailwind
colors: {
  custom: {
    50: '#a1a4a1',
    500: '#7c807c',
    950: '#000000',
  },
}
SCSS
$custom: #7c807c;
$custom-light: #a1a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c807c",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 124
  },
  "hsl": {
    "h": 120,
    "s": 1.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.00764,
    "h": 145.5
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#7C807C
secondary
#ADABAD
accent
#7DABAB
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F0F0F
muted
#7E7F7E

Preview Lab

Preview with #7C807C

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

Preview Lab → · Contrast checker → · Palette generator →

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