#545A40#545A40

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

Color values

HEX#545A40
RGBrgb(84, 90, 64)
HSLhsl(74, 17%, 30%)
HSVhsv(74, 29%, 35%)
CMYKcmyk(6.7%, 0%, 28.9%, 64.7%)
CIE-LABlab(37.05, -7.41, 14.27)
CIE-LCHlch(37.05, 16.08, 117.44°)
OKLaboklab(45.47% -0.0196 0.036)
OKLCHoklch(45.47% 0.041 118.6)
XYZxyz(8.2377, 9.5673, 6.2622)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A40 #46405A
analogous
#5A5340 #545A40 #475A40
triadic
#545A40 #40545A #5A4054
tetradic
#545A40 #405A53 #46405A #5A4047
square
#545A40 #405A53 #46405A #5A4047
split-complementary
#545A40 #40475A #53405A
monochromatic
#11120D #333627 #545A40 #757E59 #959E76

Accessibility & contrast

On white

7.21
#545A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A40
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A40#FFFFFF#000000##FFFFFF
##545A401.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#5D5741
Tritanopia (blue-blind)
#575753
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545a40;
/* rgb */ color: rgb(84, 90, 64);
/* oklch */ color: oklch(45.5% 0.041 118.6);
Tailwind
colors: {
  custom: {
    50: '#848875',
    500: '#545a40',
    950: '#000000',
  },
}
SCSS
$custom: #545a40;
$custom-light: #848875;
$custom-dark: #000000;
JSON
{
  "hex": "#545a40",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 73.846,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.04099,
    "h": 118.6
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#545A40
secondary
#736C89
accent
#6EBA80
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #545A40

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

Preview Lab → · Contrast checker → · Palette generator →

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