#405D3D#405D3D

#405D3D is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.6% C 0.062 H 142.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#405D3D
RGBrgb(64, 93, 61)
HSLhsl(114, 21%, 30%)
HSVhsv(114, 34%, 36%)
CMYKcmyk(31.2%, 0%, 34.4%, 63.5%)
CIE-LABlab(36.47, -17.88, 15.05)
CIE-LCHlch(36.47, 23.37, 139.92°)
OKLaboklab(44.61% -0.0488 0.0378)
OKLCHoklch(44.61% 0.062 142.2)
XYZxyz(6.8707, 9.2553, 5.8384)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D3D #5A3D5D
analogous
#505D3D #405D3D #3D5D4A
triadic
#405D3D #3D405D #5D3D40
tetradic
#405D3D #3D505D #5A3D5D #5D4A3D
square
#405D3D #3D505D #5A3D5D #5D4A3D
split-complementary
#405D3D #4A3D5D #5D3D50
monochromatic
#0D130D #273825 #405D3D #598255 #76A272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405D3D#FFFFFF#000000##FFFFFF
##405D3D1.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)
#5F583B
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#3E5B55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405d3d;
/* rgb */ color: rgb(64, 93, 61);
/* oklch */ color: oklch(44.6% 0.062 142.2);
Tailwind
colors: {
  custom: {
    50: '#768b72',
    500: '#405d3d',
    950: '#000000',
  },
}
SCSS
$custom: #405d3d;
$custom-light: #768b72;
$custom-dark: #000000;
JSON
{
  "hex": "#405d3d",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 61
  },
  "hsl": {
    "h": 114.375,
    "s": 20.779,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44605,
    "c": 0.06171,
    "h": 142.2
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#405D3D
secondary
#89698D
accent
#6ABDB6
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #405D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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