#545C42#545C42

#545C42 is a mid, muted yellow-green. Relative luminance 0.099; OKLCH L 46.0% C 0.042 H 121.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#545C42
RGBrgb(84, 92, 66)
HSLhsl(78, 16%, 31%)
HSVhsv(78, 28%, 36%)
CMYKcmyk(8.7%, 0%, 28.3%, 63.9%)
CIE-LABlab(37.72, -8.25, 13.96)
CIE-LCHlch(37.72, 16.22, 120.59°)
OKLaboklab(46.02% -0.022 0.0353)
OKLCHoklch(46.02% 0.042 121.9)
XYZxyz(8.4666, 9.9325, 6.6243)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C42 #4A425C
analogous
#5C5742 #545C42 #475C42
triadic
#545C42 #42545C #5C4254
tetradic
#545C42 #425C57 #4A425C #5C4247
square
#545C42 #425C57 #4A425C #5C4247
split-complementary
#545C42 #42475C #57425C
monochromatic
#13150F #333828 #545C42 #75805C #939F79

Accessibility & contrast

On white

7.03
#545C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C42
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C42#FFFFFF#000000##FFFFFF
##545C421.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5940
Deuteranopia (green-blind)
#5E5943
Tritanopia (blue-blind)
#565955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545c42;
/* rgb */ color: rgb(84, 92, 66);
/* oklch */ color: oklch(46.0% 0.042 121.9);
Tailwind
colors: {
  custom: {
    50: '#848a76',
    500: '#545c42',
    950: '#000000',
  },
}
SCSS
$custom: #545c42;
$custom-light: #848a76;
$custom-dark: #000000;
JSON
{
  "hex": "#545c42",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 66
  },
  "hsl": {
    "h": 78.462,
    "s": 16.456,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.04154,
    "h": 121.9
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#545C42
secondary
#776F8B
accent
#6FB986
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #545C42

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

Preview Lab → · Contrast checker → · Palette generator →

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