#405B41#405B41

#405B41 is a dark, muted green. Relative luminance 0.090; OKLCH L 44.2% C 0.053 H 145.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#405B41
RGBrgb(64, 91, 65)
HSLhsl(122, 17%, 30%)
HSVhsv(122, 30%, 36%)
CMYKcmyk(29.7%, 0%, 28.6%, 64.3%)
CIE-LABlab(35.89, -16.02, 11.84)
CIE-LCHlch(35.89, 19.92, 143.55°)
OKLaboklab(44.17% -0.0438 0.0301)
OKLCHoklch(44.17% 0.053 145.5)
XYZxyz(6.8093, 8.9536, 6.3694)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B41 #5B405A
analogous
#4C5B40 #405B41 #405B4E
triadic
#405B41 #41405B #5B4140
tetradic
#405B41 #404C5B #5B405A #5B4E40
square
#405B41 #404C5B #5B405A #5B4E40
split-complementary
#405B41 #4E405B #5B404C
monochromatic
#0D130E #273727 #405B41 #597F5B #769F78

Accessibility & contrast

On white

7.52
#405B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#405B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B41
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B41#FFFFFF#000000##FFFFFF
##405B411.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#585342
Tritanopia (blue-blind)
#3D5A54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405b41;
/* rgb */ color: rgb(64, 91, 65);
/* oklch */ color: oklch(44.2% 0.053 145.5);
Tailwind
colors: {
  custom: {
    50: '#758975',
    500: '#405b41',
    950: '#000000',
  },
}
SCSS
$custom: #405b41;
$custom-light: #758975;
$custom-dark: #000000;
JSON
{
  "hex": "#405b41",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 65
  },
  "hsl": {
    "h": 122.222,
    "s": 17.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.0531,
    "h": 145.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#405B41
secondary
#8A6C89
accent
#6EB7BA
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405B41

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

Preview Lab → · Contrast checker → · Palette generator →

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