#405B3E#405B3E

#405B3E is a dark, muted green. Relative luminance 0.089; OKLCH L 44.1% C 0.057 H 142.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#405B3E
RGBrgb(64, 91, 62)
HSLhsl(116, 19%, 30%)
HSVhsv(116, 32%, 36%)
CMYKcmyk(29.7%, 0%, 31.9%, 64.3%)
CIE-LABlab(35.83, -16.60, 13.58)
CIE-LCHlch(35.83, 21.45, 140.73°)
OKLaboklab(44.09% -0.0453 0.0343)
OKLCHoklch(44.09% 0.057 142.9)
XYZxyz(6.7247, 8.9197, 5.9239)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B3E #593E5B
analogous
#4F5B3E #405B3E #3E5B4A
triadic
#405B3E #3E405B #5B3E40
tetradic
#405B3E #3E4F5B #593E5B #5B4A3E
square
#405B3E #3E4F5B #593E5B #5B4A3E
split-complementary
#405B3E #4A3E5B #5B3E4F
monochromatic
#0D120C #263725 #405B3E #5A7F57 #77A073

Accessibility & contrast

On white

7.54
#405B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B3E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B3E#FFFFFF#000000##FFFFFF
##405B3E1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563C
Deuteranopia (green-blind)
#585340
Tritanopia (blue-blind)
#3E5953
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405b3e;
/* rgb */ color: rgb(64, 91, 62);
/* oklch */ color: oklch(44.1% 0.057 142.9);
Tailwind
colors: {
  custom: {
    50: '#758973',
    500: '#405b3e',
    950: '#000000',
  },
}
SCSS
$custom: #405b3e;
$custom-light: #758973;
$custom-dark: #000000;
JSON
{
  "hex": "#405b3e",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 62
  },
  "hsl": {
    "h": 115.862,
    "s": 18.954,
    "l": 30
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.05679,
    "h": 142.9
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#405B3E
secondary
#886A8B
accent
#6CBCB6
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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