#405C38#405C38

#405C38 is a dark, moderate green. Relative luminance 0.090; OKLCH L 44.2% C 0.066 H 138.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#405C38
RGBrgb(64, 92, 56)
HSLhsl(107, 24%, 29%)
HSVhsv(107, 39%, 36%)
CMYKcmyk(30.4%, 0%, 39.1%, 63.9%)
CIE-LABlab(36.04, -18.23, 17.48)
CIE-LCHlch(36.04, 25.26, 136.21°)
OKLaboklab(44.22% -0.0498 0.0435)
OKLCHoklch(44.22% 0.066 138.9)
XYZxyz(6.6551, 9.0296, 5.1328)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C38 #54385C
analogous
#525C38 #405C38 #385C42
triadic
#405C38 #38405C #5C3840
tetradic
#405C38 #38525C #54385C #5C4238
square
#405C38 #38525C #54385C #5C4238
split-complementary
#405C38 #42385C #5C3852
monochromatic
#0D130C #263621 #405C38 #5A824F #77A46A

Accessibility & contrast

On white

7.48
#405C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#405C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C38
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C38#FFFFFF#000000##FFFFFF
##405C381.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5636
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#3F5A53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405c38;
/* rgb */ color: rgb(64, 92, 56);
/* oklch */ color: oklch(44.2% 0.066 138.9);
Tailwind
colors: {
  custom: {
    50: '#768a6f',
    500: '#405c38',
    950: '#000000',
  },
}
SCSS
$custom: #405c38;
$custom-light: #768a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#405c38",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 56
  },
  "hsl": {
    "h": 106.667,
    "s": 24.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.06606,
    "h": 138.9
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#405C38
secondary
#83638C
accent
#67C1AD
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080B07
muted
#7B7C7A

Preview Lab

Preview with #405C38

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

Preview Lab → · Contrast checker → · Palette generator →

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