#545F40#545F40

#545F40 is a mid, muted yellow-green. Relative luminance 0.104; OKLCH L 46.7% C 0.050 H 124.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#545F40
RGBrgb(84, 95, 64)
HSLhsl(81, 19%, 31%)
HSVhsv(81, 33%, 37%)
CMYKcmyk(11.6%, 0%, 32.6%, 62.7%)
CIE-LABlab(38.62, -10.32, 16.38)
CIE-LCHlch(38.62, 19.36, 122.22°)
OKLaboklab(46.72% -0.0278 0.041)
OKLCHoklch(46.72% 0.05 124.2)
XYZxyz(8.6737, 10.4394, 6.4075)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F40 #4B405F
analogous
#5F5A40 #545F40 #445F40
triadic
#545F40 #40545F #5F4054
tetradic
#545F40 #405F5A #4B405F #5F4044
square
#545F40 #405F5A #4B405F #5F4044
split-complementary
#545F40 #40445F #5A405F
monochromatic
#13160F #343A27 #545F40 #748459 #93A376

Accessibility & contrast

On white

6.80
#545F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#545F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F40
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F40#FFFFFF#000000##FFFFFF
##545F401.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#615B41
Tritanopia (blue-blind)
#565C57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545f40;
/* rgb */ color: rgb(84, 95, 64);
/* oklch */ color: oklch(46.7% 0.050 124.2);
Tailwind
colors: {
  custom: {
    50: '#848c75',
    500: '#545f40',
    950: '#000000',
  },
}
SCSS
$custom: #545f40;
$custom-light: #848c75;
$custom-dark: #000000;
JSON
{
  "hex": "#545f40",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 81.29,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.04957,
    "h": 124.2
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#545F40
secondary
#786C8F
accent
#6CBC88
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0B0C08
muted
#7C7D7B

Preview Lab

Preview with #545F40

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

Preview Lab → · Contrast checker → · Palette generator →

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