#406A2E#406A2E

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

Color values

HEX#406A2E
RGBrgb(64, 106, 46)
HSLhsl(102, 39%, 30%)
HSVhsv(102, 57%, 42%)
CMYKcmyk(39.6%, 0%, 56.6%, 58.4%)
CIE-LABlab(40.56, -26.89, 28.82)
CIE-LCHlch(40.56, 39.42, 133.01°)
OKLaboklab(47.85% -0.074 0.0686)
OKLCHoklch(47.85% 0.101 137.2)
XYZxyz(7.7613, 11.5949, 4.4133)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A2E #582E6A
analogous
#5E6A2E #406A2E #2E6A3A
triadic
#406A2E #2E406A #6A2E40
tetradic
#406A2E #2E5E6A #582E6A #6A3A2E
square
#406A2E #2E5E6A #582E6A #6A3A2E
split-complementary
#406A2E #3A2E6A #6A2E5E
monochromatic
#0D1509 #263F1B #406A2E #5A9541 #77B85B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406A2E#FFFFFF#000000##FFFFFF
##406A2E1.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)
#6D6228
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#3E665C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406a2e;
/* rgb */ color: rgb(64, 106, 46);
/* oklch */ color: oklch(47.8% 0.101 137.2);
Tailwind
colors: {
  custom: {
    50: '#789568',
    500: '#406a2e',
    950: '#000000',
  },
}
SCSS
$custom: #406a2e;
$custom-light: #789568;
$custom-dark: #000000;
JSON
{
  "hex": "#406a2e",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 102,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.10092,
    "h": 137.2
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#406A2E
secondary
#87589C
accent
#58CFAC
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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