#545A54#545A54

#545A54 is a mid, near-neutral grey. Relative luminance 0.098; OKLCH L 46.0% C 0.012 H 145.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#545A54
RGBrgb(84, 90, 84)
HSLhsl(120, 3%, 34%)
HSVhsv(120, 7%, 35%)
CMYKcmyk(6.7%, 0%, 6.7%, 64.7%)
CIE-LABlab(37.55, -3.66, 2.65)
CIE-LCHlch(37.55, 4.52, 144.09°)
OKLaboklab(46.03% -0.01 0.0069)
OKLCHoklch(46.03% 0.012 145.4)
XYZxyz(8.9123, 9.8372, 9.8150)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A54 #5A545A
analogous
#575A54 #545A54 #545A57
triadic
#545A54 #54545A #5A5454
tetradic
#545A54 #54575A #5A545A #5A5754
square
#545A54 #54575A #5A545A #5A5754
split-complementary
#545A54 #57545A #5A5457
monochromatic
#191B19 #363A36 #545A54 #727A72 #919891

Accessibility & contrast

On white

7.08
#545A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#545A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A54
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A54#FFFFFF#000000##FFFFFF
##545A541.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5954
Deuteranopia (green-blind)
#595854
Tritanopia (blue-blind)
#545A58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545a54;
/* rgb */ color: rgb(84, 90, 84);
/* oklch */ color: oklch(46.0% 0.012 145.4);
Tailwind
colors: {
  custom: {
    50: '#848884',
    500: '#545a54',
    950: '#000000',
  },
}
SCSS
$custom: #545a54;
$custom-light: #848884;
$custom-dark: #000000;
JSON
{
  "hex": "#545a54",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 84
  },
  "hsl": {
    "h": 120,
    "s": 3.448,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.01219,
    "h": 145.4
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#545A54
secondary
#888288
accent
#7BADAD
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545A54

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

Preview Lab → · Contrast checker → · Palette generator →

#545A54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva