#405A3C#405A3C

#405A3C is a dark, muted green. Relative luminance 0.087; OKLCH L 43.8% C 0.057 H 141.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#405A3C
RGBrgb(64, 90, 60)
HSLhsl(112, 20%, 29%)
HSVhsv(112, 33%, 35%)
CMYKcmyk(28.9%, 0%, 33.3%, 64.7%)
CIE-LABlab(35.46, -16.43, 14.29)
CIE-LCHlch(35.46, 21.77, 138.98°)
OKLaboklab(43.78% -0.0448 0.036)
OKLCHoklch(43.78% 0.057 141.2)
XYZxyz(6.5859, 8.7283, 5.6118)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A3C #563C5A
analogous
#4F5A3C #405A3C #3C5A47
triadic
#405A3C #3C405A #5A3C40
tetradic
#405A3C #3C4F5A #563C5A #5A473C
square
#405A3C #3C4F5A #563C5A #5A473C
split-complementary
#405A3C #473C5A #5A3C4F
monochromatic
#0D120C #263524 #405A3C #5A7F54 #77A070

Accessibility & contrast

On white

7.65
#405A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#405A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A3C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A3C#FFFFFF#000000##FFFFFF
##405A3C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C553A
Deuteranopia (green-blind)
#58523E
Tritanopia (blue-blind)
#3E5852
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405a3c;
/* rgb */ color: rgb(64, 90, 60);
/* oklch */ color: oklch(43.8% 0.057 141.2);
Tailwind
colors: {
  custom: {
    50: '#758872',
    500: '#405a3c',
    950: '#000000',
  },
}
SCSS
$custom: #405a3c;
$custom-light: #758872;
$custom-dark: #000000;
JSON
{
  "hex": "#405a3c",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 60
  },
  "hsl": {
    "h": 112,
    "s": 20,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.05743,
    "h": 141.2
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#405A3C
secondary
#85688A
accent
#6BBDB2
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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