#405E41#405E41

#405E41 is a dark, muted green. Relative luminance 0.095; OKLCH L 45.0% C 0.059 H 145.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#405E41
RGBrgb(64, 94, 65)
HSLhsl(122, 19%, 31%)
HSVhsv(122, 32%, 37%)
CMYKcmyk(31.9%, 0%, 30.9%, 63.1%)
CIE-LABlab(36.89, -17.67, 13.19)
CIE-LCHlch(36.89, 22.05, 143.26°)
OKLaboklab(44.97% -0.0482 0.0334)
OKLCHoklch(44.97% 0.059 145.3)
XYZxyz(7.0709, 9.4768, 6.4566)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E41 #5E405D
analogous
#4E5E40 #405E41 #405E50
triadic
#405E41 #41405E #5E4140
tetradic
#405E41 #404E5E #5E405D #5E5040
square
#405E41 #404E5E #5E405D #5E5040
split-complementary
#405E41 #50405E #5E404E
monochromatic
#0E150F #273A28 #405E41 #59825A #76A278

Accessibility & contrast

On white

7.25
#405E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#405E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E41
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E41#FFFFFF#000000##FFFFFF
##405E411.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F593F
Deuteranopia (green-blind)
#5A5643
Tritanopia (blue-blind)
#3D5C56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405e41;
/* rgb */ color: rgb(64, 94, 65);
/* oklch */ color: oklch(45.0% 0.059 145.3);
Tailwind
colors: {
  custom: {
    50: '#768c75',
    500: '#405e41',
    950: '#000000',
  },
}
SCSS
$custom: #405e41;
$custom-light: #768c75;
$custom-dark: #000000;
JSON
{
  "hex": "#405e41",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 65
  },
  "hsl": {
    "h": 122,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44967,
    "c": 0.05867,
    "h": 145.3
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#405E41
secondary
#8D6C8C
accent
#6CB9BC
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #405E41

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

Preview Lab → · Contrast checker → · Palette generator →

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