#545C40#545C40

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

Color values

HEX#545C40
RGBrgb(84, 92, 64)
HSLhsl(77, 18%, 31%)
HSVhsv(77, 30%, 36%)
CMYKcmyk(8.7%, 0%, 30.4%, 63.9%)
CIE-LABlab(37.68, -8.58, 15.12)
CIE-LCHlch(37.68, 17.38, 119.59°)
OKLaboklab(45.97% -0.0229 0.038)
OKLCHoklch(45.97% 0.044 121.1)
XYZxyz(8.4086, 9.9093, 6.3192)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C40 #48405C
analogous
#5C5640 #545C40 #465C40
triadic
#545C40 #40545C #5C4054
tetradic
#545C40 #405C56 #48405C #5C4046
square
#545C40 #405C56 #48405C #5C4046
split-complementary
#545C40 #40465C #56405C
monochromatic
#12140E #333827 #545C40 #758059 #94A076

Accessibility & contrast

On white

7.04
#545C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#545C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C40
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C40#FFFFFF#000000##FFFFFF
##545C401.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545c40;
/* rgb */ color: rgb(84, 92, 64);
/* oklch */ color: oklch(46.0% 0.044 121.1);
Tailwind
colors: {
  custom: {
    50: '#848a75',
    500: '#545c40',
    950: '#000000',
  },
}
SCSS
$custom: #545c40;
$custom-light: #848a75;
$custom-dark: #000000;
JSON
{
  "hex": "#545c40",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 77.143,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.04439,
    "h": 121.1
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#545C40
secondary
#756C8B
accent
#6DBB83
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #545C40

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

Preview Lab → · Contrast checker → · Palette generator →

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