#545A42#545A42

#545A42 is a mid, muted yellow-green. Relative luminance 0.096; OKLCH L 45.5% C 0.038 H 119.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#545A42
RGBrgb(84, 90, 66)
HSLhsl(75, 15%, 31%)
HSVhsv(75, 27%, 35%)
CMYKcmyk(6.7%, 0%, 26.7%, 64.7%)
CIE-LABlab(37.10, -7.08, 13.11)
CIE-LCHlch(37.10, 14.90, 118.36°)
OKLaboklab(45.52% -0.0187 0.0332)
OKLCHoklch(45.52% 0.038 119.3)
XYZxyz(8.2956, 9.5905, 6.5673)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A42 #48425A
analogous
#5A5442 #545A42 #485A42
triadic
#545A42 #42545A #5A4254
tetradic
#545A42 #425A54 #48425A #5A4248
square
#545A42 #425A54 #48425A #5A4248
split-complementary
#545A42 #42485A #54425A
monochromatic
#12130E #333728 #545A42 #757D5C #949D79

Accessibility & contrast

On white

7.20
#545A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A42
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A42#FFFFFF#000000##FFFFFF
##545A421.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#5C5743
Tritanopia (blue-blind)
#565754
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545a42;
/* rgb */ color: rgb(84, 90, 66);
/* oklch */ color: oklch(45.5% 0.038 119.3);
Tailwind
colors: {
  custom: {
    50: '#848876',
    500: '#545a42',
    950: '#000000',
  },
}
SCSS
$custom: #545a42;
$custom-light: #848876;
$custom-dark: #000000;
JSON
{
  "hex": "#545a42",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 75,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.03809,
    "h": 119.3
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#545A42
secondary
#756F89
accent
#70B882
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #545A42

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

Preview Lab → · Contrast checker → · Palette generator →

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