#787276#787276

#787276 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.9% C 0.010 H 337.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#787276
RGBrgb(120, 114, 118)
HSLhsl(320, 3%, 46%)
HSVhsv(320, 5%, 47%)
CMYKcmyk(0%, 5%, 1.7%, 52.9%)
CIE-LABlab(48.68, 3.10, -1.38)
CIE-LCHlch(48.68, 3.39, 336.00°)
OKLaboklab(55.88% 0.0088 -0.0036)
OKLCHoklch(55.88% 0.01 337.6)
XYZxyz(17.0326, 17.3358, 19.5849)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787276 #727874
analogous
#777278 #787276 #787273
triadic
#787276 #767872 #727678
tetradic
#787276 #787772 #727874 #727378
square
#787276 #787772 #727874 #727378
split-complementary
#787276 #737872 #727877
monochromatic
#393638 #595457 #787276 #969195 #B4B0B3

Accessibility & contrast

On white

4.70
#787276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#787276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787276
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787276#FFFFFF#000000##FFFFFF
##7872761.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787276;
/* rgb */ color: rgb(120, 114, 118);
/* oklch */ color: oklch(55.9% 0.010 337.6);
Tailwind
colors: {
  custom: {
    50: '#9f9a9d',
    500: '#787276',
    950: '#000000',
  },
}
SCSS
$custom: #787276;
$custom-light: #9f9a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#787276",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 118
  },
  "hsl": {
    "h": 320,
    "s": 2.564,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.00951,
    "h": 337.6
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#787276
secondary
#A1A5A2
accent
#AC8C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787276

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

Preview Lab → · Contrast checker → · Palette generator →

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