#545951#545951

#545951 is a mid, near-neutral grey. Relative luminance 0.096; OKLCH L 45.7% C 0.014 H 133.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#545951
RGBrgb(84, 89, 81)
HSLhsl(98, 5%, 33%)
HSVhsv(98, 9%, 35%)
CMYKcmyk(5.6%, 0%, 9%, 65.1%)
CIE-LABlab(37.16, -3.68, 3.95)
CIE-LCHlch(37.16, 5.40, 132.96°)
OKLaboklab(45.69% -0.0098 0.0103)
OKLCHoklch(45.69% 0.014 133.5)
XYZxyz(8.7135, 9.6236, 9.1815)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545951 #565159
analogous
#585951 #545951 #515952
triadic
#545951 #515459 #595154
tetradic
#545951 #515859 #565159 #595251
square
#545951 #515859 #565159 #595251
split-complementary
#545951 #525159 #595158
monochromatic
#181917 #363934 #545951 #72796E #91978D

Accessibility & contrast

On white

7.18
#545951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545951
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545951#FFFFFF#000000##FFFFFF
##5459511.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5851
Deuteranopia (green-blind)
#595751
Tritanopia (blue-blind)
#545857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545951;
/* rgb */ color: rgb(84, 89, 81);
/* oklch */ color: oklch(45.7% 0.014 133.5);
Tailwind
colors: {
  custom: {
    50: '#848781',
    500: '#545951',
    950: '#000000',
  },
}
SCSS
$custom: #545951;
$custom-light: #848781;
$custom-dark: #000000;
JSON
{
  "hex": "#545951",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 81
  },
  "hsl": {
    "h": 97.5,
    "s": 4.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.01422,
    "h": 133.5
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#545951
secondary
#847F87
accent
#7AAE9A
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545951

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

Preview Lab → · Contrast checker → · Palette generator →

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