#787474#787474

#787474 is a mid, near-neutral grey. Relative luminance 0.177; OKLCH L 56.3% C 0.005 H 17.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#787474
RGBrgb(120, 116, 116)
HSLhsl(0, 2%, 46%)
HSVhsv(0, 3%, 47%)
CMYKcmyk(0%, 3.3%, 3.3%, 52.9%)
CIE-LABlab(49.19, 1.53, 0.54)
CIE-LCHlch(49.19, 1.62, 19.59°)
OKLaboklab(56.25% 0.0047 0.0015)
OKLCHoklch(56.25% 0.005 17.3)
XYZxyz(17.1431, 17.7449, 19.0416)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787474 #747878
analogous
#787476 #787474 #787674
triadic
#787474 #747874 #747478
tetradic
#787474 #767874 #747878 #767478
square
#787474 #767874 #747878 #767478
split-complementary
#787474 #747876 #747678
monochromatic
#3A3838 #595656 #787474 #969393 #B4B2B2

Accessibility & contrast

On white

4.62
#787474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#787474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787474
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787474#FFFFFF#000000##FFFFFF
##7874741.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757474
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#797474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787474;
/* rgb */ color: rgb(120, 116, 116);
/* oklch */ color: oklch(56.3% 0.005 17.3);
Tailwind
colors: {
  custom: {
    50: '#9f9c9c',
    500: '#787474',
    950: '#000000',
  },
}
SCSS
$custom: #787474;
$custom-light: #9f9c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#787474",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 116
  },
  "hsl": {
    "h": 0,
    "s": 1.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.00493,
    "h": 17.3
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#787474
secondary
#A3A5A5
accent
#ABAB7D
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787474

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

Preview Lab → · Contrast checker → · Palette generator →

#787474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva