#406A2D#406A2D

#406A2D is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.8% C 0.102 H 136.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#406A2D
RGBrgb(64, 106, 45)
HSLhsl(101, 40%, 30%)
HSVhsv(101, 58%, 42%)
CMYKcmyk(39.6%, 0%, 57.5%, 58.4%)
CIE-LABlab(40.55, -27.02, 29.34)
CIE-LCHlch(40.55, 39.89, 132.64°)
OKLaboklab(47.83% -0.0745 0.0696)
OKLCHoklch(47.83% 0.102 136.9)
XYZxyz(7.7418, 11.5871, 4.3107)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A2D #572D6A
analogous
#5F6A2D #406A2D #2D6A38
triadic
#406A2D #2D406A #6A2D40
tetradic
#406A2D #2D5F6A #572D6A #6A382D
square
#406A2D #2D5F6A #572D6A #6A382D
split-complementary
#406A2D #382D6A #6A2D5F
monochromatic
#0D1509 #263F1B #406A2D #5A953F #77B859

Accessibility & contrast

On white

6.33
#406A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#406A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A2D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A2D#FFFFFF#000000##FFFFFF
##406A2D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6227
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#3E665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406a2d;
/* rgb */ color: rgb(64, 106, 45);
/* oklch */ color: oklch(47.8% 0.102 136.9);
Tailwind
colors: {
  custom: {
    50: '#789568',
    500: '#406a2d',
    950: '#000000',
  },
}
SCSS
$custom: #406a2d;
$custom-light: #789568;
$custom-dark: #000000;
JSON
{
  "hex": "#406a2d",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 101.311,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.10193,
    "h": 136.9
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#406A2D
secondary
#86579C
accent
#58D0AB
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406A2D

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

Preview Lab → · Contrast checker → · Palette generator →

#406A2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva