#545442#545442

#545442 is a dark, muted yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.028 H 107.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#545442
RGBrgb(84, 84, 66)
HSLhsl(60, 12%, 29%)
HSVhsv(60, 21%, 33%)
CMYKcmyk(0%, 0%, 21.4%, 67.1%)
CIE-LABlab(35.24, -3.49, 10.56)
CIE-LCHlch(35.24, 11.12, 108.29°)
OKLaboklab(44.05% -0.0085 0.027)
OKLCHoklch(44.05% 0.028 107.5)
XYZxyz(7.8098, 8.6189, 6.4054)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545442 #424254
analogous
#544B42 #545442 #4B5442
triadic
#545442 #425454 #544254
tetradic
#545442 #42544B #424254 #54424B
square
#545442 #42544B #424254 #54424B
split-complementary
#545442 #424B54 #4B4254
monochromatic
#11110D #323227 #545442 #76765D #96967A

Accessibility & contrast

On white

7.71
#545442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#545442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545442
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545442#FFFFFF#000000##FFFFFF
##5454421.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575241
Deuteranopia (green-blind)
#585343
Tritanopia (blue-blind)
#57524F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #545442;
/* rgb */ color: rgb(84, 84, 66);
/* oklch */ color: oklch(44.0% 0.028 107.5);
Tailwind
colors: {
  custom: {
    50: '#848476',
    500: '#545442',
    950: '#000000',
  },
}
SCSS
$custom: #545442;
$custom-light: #848476;
$custom-dark: #000000;
JSON
{
  "hex": "#545442",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 12,
    "l": 29.412
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.02828,
    "h": 107.5
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#545442
secondary
#6F6F83
accent
#73B573
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0B0A08
muted
#7C7C7B

Preview Lab

Preview with #545442

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

Preview Lab → · Contrast checker → · Palette generator →

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