#545E42#545E42

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

Color values

HEX#545E42
RGBrgb(84, 94, 66)
HSLhsl(81, 18%, 31%)
HSVhsv(81, 30%, 37%)
CMYKcmyk(10.6%, 0%, 29.8%, 63.1%)
CIE-LABlab(38.35, -9.42, 14.81)
CIE-LCHlch(38.35, 17.55, 122.45°)
OKLaboklab(46.52% -0.0253 0.0373)
OKLCHoklch(46.52% 0.045 124.1)
XYZxyz(8.6421, 10.2835, 6.6828)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E42 #4C425E
analogous
#5E5A42 #545E42 #465E42
triadic
#545E42 #42545E #5E4254
tetradic
#545E42 #425E5A #4C425E #5E4246
square
#545E42 #425E5A #4C425E #5E4246
split-complementary
#545E42 #42465E #5A425E
monochromatic
#141610 #343A29 #545E42 #74825B #93A179

Accessibility & contrast

On white

6.87
#545E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#545E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545E42
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E42#FFFFFF#000000##FFFFFF
##545E421.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B40
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#565B57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545e42;
/* rgb */ color: rgb(84, 94, 66);
/* oklch */ color: oklch(46.5% 0.045 124.1);
Tailwind
colors: {
  custom: {
    50: '#848b76',
    500: '#545e42',
    950: '#000000',
  },
}
SCSS
$custom: #545e42;
$custom-light: #848b76;
$custom-dark: #000000;
JSON
{
  "hex": "#545e42",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 66
  },
  "hsl": {
    "h": 81.429,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.04505,
    "h": 124.1
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#545E42
secondary
#796E8D
accent
#6EBA89
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0C08
muted
#7C7D7B

Preview Lab

Preview with #545E42

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

Preview Lab → · Contrast checker → · Palette generator →

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