#406D2E#406D2E

#406D2E is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.7% C 0.106 H 137.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#406D2E
RGBrgb(64, 109, 46)
HSLhsl(103, 41%, 30%)
HSVhsv(103, 58%, 43%)
CMYKcmyk(41.3%, 0%, 57.8%, 57.3%)
CIE-LABlab(41.57, -28.33, 30.02)
CIE-LCHlch(41.57, 41.28, 133.35°)
OKLaboklab(48.67% -0.078 0.0712)
OKLCHoklch(48.67% 0.106 137.6)
XYZxyz(8.0759, 12.2241, 4.5182)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D2E #5B2E6D
analogous
#5F6D2E #406D2E #2E6D3B
triadic
#406D2E #2E406D #6D2E40
tetradic
#406D2E #2E5F6D #5B2E6D #6D3B2E
square
#406D2E #2E5F6D #5B2E6D #6D3B2E
split-complementary
#406D2E #3B2E6D #6D2E5F
monochromatic
#0D170A #27421C #406D2E #599840 #76BA5B

Accessibility & contrast

On white

6.10
#406D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#406D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D2E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D2E#FFFFFF#000000##FFFFFF
##406D2E1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706528
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#3E695F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406d2e;
/* rgb */ color: rgb(64, 109, 46);
/* oklch */ color: oklch(48.7% 0.106 137.6);
Tailwind
colors: {
  custom: {
    50: '#789769',
    500: '#406d2e',
    950: '#000000',
  },
}
SCSS
$custom: #406d2e;
$custom-light: #789769;
$custom-dark: #000000;
JSON
{
  "hex": "#406d2e",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 102.857,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.10558,
    "h": 137.6
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#406D2E
secondary
#8A589F
accent
#57D0AE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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