#405E40#405E40

#405E40 is a dark, muted green. Relative luminance 0.095; OKLCH L 44.9% C 0.060 H 144.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#405E40
RGBrgb(64, 94, 64)
HSLhsl(120, 19%, 31%)
HSVhsv(120, 32%, 37%)
CMYKcmyk(31.9%, 0%, 31.9%, 63.1%)
CIE-LABlab(36.87, -17.86, 13.77)
CIE-LCHlch(36.87, 22.55, 142.37°)
OKLaboklab(44.94% -0.0487 0.0348)
OKLCHoklch(44.94% 0.06 144.5)
XYZxyz(7.0422, 9.4653, 6.3054)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E40 #5E405E
analogous
#4F5E40 #405E40 #405E4F
triadic
#405E40 #40405E #5E4040
tetradic
#405E40 #404F5E #5E405E #5E4F40
square
#405E40 #404F5E #5E405E #5E4F40
split-complementary
#405E40 #4F405E #5E404F
monochromatic
#0E150E #273A27 #405E40 #598259 #76A276

Accessibility & contrast

On white

7.26
#405E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#405E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E40
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E40#FFFFFF#000000##FFFFFF
##405E401.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405e40;
/* rgb */ color: rgb(64, 94, 64);
/* oklch */ color: oklch(44.9% 0.060 144.5);
Tailwind
colors: {
  custom: {
    50: '#768c75',
    500: '#405e40',
    950: '#000000',
  },
}
SCSS
$custom: #405e40;
$custom-light: #768c75;
$custom-dark: #000000;
JSON
{
  "hex": "#405e40",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.05988,
    "h": 144.5
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#405E40
secondary
#8D6C8D
accent
#6CBCBC
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #405E40

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

Preview Lab → · Contrast checker → · Palette generator →

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