#405C4A#405C4A

#405C4A is a dark, muted green. Relative luminance 0.092; OKLCH L 44.7% C 0.045 H 155.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#405C4A
RGBrgb(64, 92, 74)
HSLhsl(141, 18%, 31%)
HSVhsv(141, 30%, 36%)
CMYKcmyk(30.4%, 0%, 19.6%, 63.9%)
CIE-LABlab(36.44, -14.70, 7.06)
CIE-LCHlch(36.44, 16.30, 154.34°)
OKLaboklab(44.68% -0.0407 0.0182)
OKLCHoklch(44.68% 0.045 155.9)
XYZxyz(7.1771, 9.2384, 7.8823)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C4A #5C4052
analogous
#445C40 #405C4A #405C58
triadic
#405C4A #4A405C #5C4A40
tetradic
#405C4A #40445C #5C4052 #5C5840
square
#405C4A #40445C #5C4052 #5C5840
split-complementary
#405C4A #58405C #5C4044
monochromatic
#0E1410 #27382D #405C4A #598067 #76A085

Accessibility & contrast

On white

7.37
#405C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C4A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C4A#FFFFFF#000000##FFFFFF
##405C4A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5849
Deuteranopia (green-blind)
#57544B
Tritanopia (blue-blind)
#3B5B57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405c4a;
/* rgb */ color: rgb(64, 92, 74);
/* oklch */ color: oklch(44.7% 0.045 155.9);
Tailwind
colors: {
  custom: {
    50: '#758a7c',
    500: '#405c4a',
    950: '#000000',
  },
}
SCSS
$custom: #405c4a;
$custom-light: #758a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#405c4a",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 74
  },
  "hsl": {
    "h": 141.429,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.0446,
    "h": 155.9
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#405C4A
secondary
#8B6C80
accent
#6D9FBB
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405C4A

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

Preview Lab → · Contrast checker → · Palette generator →

#405C4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva