#545E40#545E40

#545E40 is a mid, muted yellow-green. Relative luminance 0.103; OKLCH L 46.5% C 0.048 H 123.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#545E40
RGBrgb(84, 94, 64)
HSLhsl(80, 19%, 31%)
HSVhsv(80, 32%, 37%)
CMYKcmyk(10.6%, 0%, 31.9%, 63.1%)
CIE-LABlab(38.31, -9.74, 15.96)
CIE-LCHlch(38.31, 18.70, 121.41°)
OKLaboklab(46.47% -0.0262 0.04)
OKLCHoklch(46.47% 0.048 123.2)
XYZxyz(8.5842, 10.2604, 6.3777)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E40 #4A405E
analogous
#5E5940 #545E40 #455E40
triadic
#545E40 #40545E #5E4054
tetradic
#545E40 #405E59 #4A405E #5E4045
square
#545E40 #405E59 #4A405E #5E4045
split-complementary
#545E40 #40455E #59405E
monochromatic
#13150E #333A27 #545E40 #758259 #93A276

Accessibility & contrast

On white

6.88
#545E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#545E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545E40
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E40#FFFFFF#000000##FFFFFF
##545E401.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#605A41
Tritanopia (blue-blind)
#565B56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545e40;
/* rgb */ color: rgb(84, 94, 64);
/* oklch */ color: oklch(46.5% 0.048 123.2);
Tailwind
colors: {
  custom: {
    50: '#848b75',
    500: '#545e40',
    950: '#000000',
  },
}
SCSS
$custom: #545e40;
$custom-light: #848b75;
$custom-dark: #000000;
JSON
{
  "hex": "#545e40",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.04784,
    "h": 123.2
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#545E40
secondary
#776C8D
accent
#6CBC87
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0C08
muted
#7C7D7B

Preview Lab

Preview with #545E40

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

Preview Lab → · Contrast checker → · Palette generator →

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