#405E42#405E42

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

Color values

HEX#405E42
RGBrgb(64, 94, 66)
HSLhsl(124, 19%, 31%)
HSVhsv(124, 32%, 37%)
CMYKcmyk(31.9%, 0%, 29.8%, 63.1%)
CIE-LABlab(36.91, -17.47, 12.61)
CIE-LCHlch(36.91, 21.55, 144.18°)
OKLaboklab(44.99% -0.0477 0.032)
OKLCHoklch(44.99% 0.057 146.2)
XYZxyz(7.1001, 9.4884, 6.6106)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E42 #5E405C
analogous
#4D5E40 #405E42 #405E51
triadic
#405E42 #42405E #5E4240
tetradic
#405E42 #404D5E #5E405C #5E5140
square
#405E42 #404D5E #5E405C #5E5140
split-complementary
#405E42 #51405E #5E404D
monochromatic
#0E150F #273A28 #405E42 #59825C #76A279

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405E42#FFFFFF#000000##FFFFFF
##405E421.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)
#5F5940
Deuteranopia (green-blind)
#5A5644
Tritanopia (blue-blind)
#3D5C57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405e42;
/* rgb */ color: rgb(64, 94, 66);
/* oklch */ color: oklch(45.0% 0.057 146.2);
Tailwind
colors: {
  custom: {
    50: '#768c76',
    500: '#405e42',
    950: '#000000',
  },
}
SCSS
$custom: #405e42;
$custom-light: #768c76;
$custom-dark: #000000;
JSON
{
  "hex": "#405e42",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 66
  },
  "hsl": {
    "h": 124,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.05747,
    "h": 146.2
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#405E42
secondary
#8D6C8B
accent
#6CB6BC
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B

Preview Lab

Preview with #405E42

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

Preview Lab → · Contrast checker → · Palette generator →

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