#767271#767271

#767271 is a mid, near-neutral grey. Relative luminance 0.171; OKLCH L 55.5% C 0.005 H 34.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#767271
RGBrgb(118, 114, 113)
HSLhsl(12, 2%, 45%)
HSVhsv(12, 4%, 46%)
CMYKcmyk(0%, 3.4%, 4.2%, 53.7%)
CIE-LABlab(48.36, 1.34, 1.10)
CIE-LCHlch(48.36, 1.73, 39.38°)
OKLaboklab(55.53% 0.0043 0.0029)
OKLCHoklch(55.53% 0.005 34.3)
XYZxyz(16.4688, 17.0785, 18.0485)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767271 #717576
analogous
#767172 #767271 #767471
triadic
#767271 #717672 #727176
tetradic
#767271 #727671 #717576 #747176
square
#767271 #727671 #717576 #747176
split-complementary
#767271 #717674 #717276
monochromatic
#373635 #575453 #767271 #949190 #B2B0AF

Accessibility & contrast

On white

4.76
#767271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#767271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767271
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767271#FFFFFF#000000##FFFFFF
##7672711.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737271
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#777272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #767271;
/* rgb */ color: rgb(118, 114, 113);
/* oklch */ color: oklch(55.5% 0.005 34.3);
Tailwind
colors: {
  custom: {
    50: '#9d9a99',
    500: '#767271',
    950: '#000000',
  },
}
SCSS
$custom: #767271;
$custom-light: #9d9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#767271",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 12,
    "s": 2.165,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.0052,
    "h": 34.3
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#767271
secondary
#A0A2A3
accent
#A2AB7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #767271

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

Preview Lab → · Contrast checker → · Palette generator →

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