#545B40#545B40

#545B40 is a mid, muted yellow-green. Relative luminance 0.097; OKLCH L 45.7% C 0.043 H 119.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#545B40
RGBrgb(84, 91, 64)
HSLhsl(76, 17%, 30%)
HSVhsv(76, 30%, 36%)
CMYKcmyk(7.7%, 0%, 29.7%, 64.3%)
CIE-LABlab(37.37, -8.00, 14.69)
CIE-LCHlch(37.37, 16.73, 118.56°)
OKLaboklab(45.72% -0.0213 0.037)
OKLCHoklch(45.72% 0.043 119.9)
XYZxyz(8.3226, 9.7372, 6.2905)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B40 #47405B
analogous
#5B5440 #545B40 #465B40
triadic
#545B40 #40545B #5B4054
tetradic
#545B40 #405B54 #47405B #5B4046
square
#545B40 #405B54 #47405B #5B4046
split-complementary
#545B40 #40465B #54405B
monochromatic
#12130D #333727 #545B40 #757F59 #949F76

Accessibility & contrast

On white

7.12
#545B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B40
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B40#FFFFFF#000000##FFFFFF
##545B401.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#565854
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545b40;
/* rgb */ color: rgb(84, 91, 64);
/* oklch */ color: oklch(45.7% 0.043 119.9);
Tailwind
colors: {
  custom: {
    50: '#848975',
    500: '#545b40',
    950: '#000000',
  },
}
SCSS
$custom: #545b40;
$custom-light: #848975;
$custom-dark: #000000;
JSON
{
  "hex": "#545b40",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 64
  },
  "hsl": {
    "h": 75.556,
    "s": 17.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.04268,
    "h": 119.9
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#545B40
secondary
#746C8A
accent
#6EBA82
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #545B40

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

Preview Lab → · Contrast checker → · Palette generator →

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