#405D41#405D41

#405D41 is a dark, muted green. Relative luminance 0.093; OKLCH L 44.7% C 0.057 H 145.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#405D41
RGBrgb(64, 93, 65)
HSLhsl(122, 18%, 31%)
HSVhsv(122, 31%, 36%)
CMYKcmyk(31.2%, 0%, 30.1%, 63.5%)
CIE-LABlab(36.56, -17.13, 12.74)
CIE-LCHlch(36.56, 21.34, 143.35°)
OKLaboklab(44.7% -0.0468 0.0323)
OKLCHoklch(44.7% 0.057 145.4)
XYZxyz(6.9825, 9.3001, 6.4272)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D41 #5D405C
analogous
#4D5D40 #405D41 #405D4F
triadic
#405D41 #41405D #5D4140
tetradic
#405D41 #404D5D #5D405C #5D4F40
square
#405D41 #404D5D #5D405C #5D4F40
split-complementary
#405D41 #4F405D #5D404D
monochromatic
#0E140E #273928 #405D41 #59815A #76A178

Accessibility & contrast

On white

7.34
#405D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D41
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D41#FFFFFF#000000##FFFFFF
##405D411.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#595543
Tritanopia (blue-blind)
#3D5B56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405d41;
/* rgb */ color: rgb(64, 93, 65);
/* oklch */ color: oklch(44.7% 0.057 145.4);
Tailwind
colors: {
  custom: {
    50: '#768b75',
    500: '#405d41',
    950: '#000000',
  },
}
SCSS
$custom: #405d41;
$custom-light: #768b75;
$custom-dark: #000000;
JSON
{
  "hex": "#405d41",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 65
  },
  "hsl": {
    "h": 122.069,
    "s": 18.471,
    "l": 30.784
  },
  "oklch": {
    "l": 0.447,
    "c": 0.05683,
    "h": 145.4
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#405D41
secondary
#8C6C8B
accent
#6DB8BB
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #405D41

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

Preview Lab → · Contrast checker → · Palette generator →

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