#787274#787274

#787274 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.8% C 0.008 H 355.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#787274
RGBrgb(120, 114, 116)
HSLhsl(340, 3%, 46%)
HSVhsv(340, 5%, 47%)
CMYKcmyk(0%, 5%, 3.3%, 52.9%)
CIE-LABlab(48.62, 2.70, -0.28)
CIE-LCHlch(48.62, 2.71, 354.13°)
OKLaboklab(55.81% 0.008 -0.0007)
OKLCHoklch(55.81% 0.008 355)
XYZxyz(16.9150, 17.2888, 18.9656)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787274 #727876
analogous
#787277 #787274 #787372
triadic
#787274 #747872 #727478
tetradic
#787274 #777872 #727876 #737278
square
#787274 #777872 #727876 #737278
split-complementary
#787274 #727873 #727778
monochromatic
#393637 #595456 #787274 #969193 #B4B0B2

Accessibility & contrast

On white

4.71
#787274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#787274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787274
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787274#FFFFFF#000000##FFFFFF
##7872741.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737374
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#797273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787274;
/* rgb */ color: rgb(120, 114, 116);
/* oklch */ color: oklch(55.8% 0.008 355.0);
Tailwind
colors: {
  custom: {
    50: '#9f9a9c',
    500: '#787274',
    950: '#000000',
  },
}
SCSS
$custom: #787274;
$custom-light: #9f9a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#787274",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 116
  },
  "hsl": {
    "h": 340,
    "s": 2.564,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.00798,
    "h": 355
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#787274
secondary
#A1A5A3
accent
#AC9C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787274

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

Preview Lab → · Contrast checker → · Palette generator →

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