#787074#787074

#787074 is a mid, near-neutral grey. Relative luminance 0.168; OKLCH L 55.4% C 0.012 H 345.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787074
RGBrgb(120, 112, 116)
HSLhsl(330, 3%, 45%)
HSVhsv(330, 7%, 47%)
CMYKcmyk(0%, 6.7%, 3.3%, 52.9%)
CIE-LABlab(48.06, 3.88, -1.10)
CIE-LCHlch(48.06, 4.03, 344.18°)
OKLaboklab(55.37% 0.0112 -0.0029)
OKLCHoklch(55.37% 0.012 345.7)
XYZxyz(16.6919, 16.8425, 18.8912)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787074 #707874
analogous
#787078 #787074 #787070
triadic
#787074 #747870 #707478
tetradic
#787074 #787870 #707874 #707078
square
#787074 #787870 #707874 #707078
split-complementary
#787074 #707870 #707878
monochromatic
#393537 #585255 #787074 #968F93 #B4AFB1

Accessibility & contrast

On white

4.81
#787074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#787074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787074
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787074#FFFFFF#000000##FFFFFF
##7870741.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707174
Deuteranopia (green-blind)
#727374
Tritanopia (blue-blind)
#797071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787074;
/* rgb */ color: rgb(120, 112, 116);
/* oklch */ color: oklch(55.4% 0.012 345.7);
Tailwind
colors: {
  custom: {
    50: '#9f999c',
    500: '#787074',
    950: '#000000',
  },
}
SCSS
$custom: #787074;
$custom-light: #9f999c;
$custom-dark: #000000;
JSON
{
  "hex": "#787074",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 116
  },
  "hsl": {
    "h": 330,
    "s": 3.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.01157,
    "h": 345.7
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#787074
secondary
#A0A4A2
accent
#AD947B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #787074

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

Preview Lab → · Contrast checker → · Palette generator →

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