#545854#545854

#545854 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.5% C 0.008 H 145.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#545854
RGBrgb(84, 88, 84)
HSLhsl(120, 2%, 34%)
HSVhsv(120, 5%, 35%)
CMYKcmyk(4.5%, 0%, 4.5%, 65.5%)
CIE-LABlab(36.94, -2.45, 1.77)
CIE-LCHlch(36.94, 3.02, 144.21°)
OKLaboklab(45.55% -0.0067 0.0046)
OKLCHoklch(45.55% 0.008 145.4)
XYZxyz(8.7458, 9.5043, 9.7595)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545854 #585458
analogous
#565854 #545854 #545856
triadic
#545854 #545458 #585454
tetradic
#545854 #545658 #585458 #585654
square
#545854 #545658 #585458 #585654
split-complementary
#545854 #565458 #585456
monochromatic
#181918 #363936 #545854 #727772 #919691

Accessibility & contrast

On white

7.24
#545854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#545854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545854
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545854#FFFFFF#000000##FFFFFF
##5458541.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585754
Deuteranopia (green-blind)
#575754
Tritanopia (blue-blind)
#545857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545854;
/* rgb */ color: rgb(84, 88, 84);
/* oklch */ color: oklch(45.5% 0.008 145.4);
Tailwind
colors: {
  custom: {
    50: '#848784',
    500: '#545854',
    950: '#000000',
  },
}
SCSS
$custom: #545854;
$custom-light: #848784;
$custom-dark: #000000;
JSON
{
  "hex": "#545854",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 84
  },
  "hsl": {
    "h": 120,
    "s": 2.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.00816,
    "h": 145.4
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#545854
secondary
#868286
accent
#7CACAC
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545854

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

Preview Lab → · Contrast checker → · Palette generator →

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