#406E2A#406E2A

#406E2A is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.9% C 0.111 H 136.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#406E2A
RGBrgb(64, 110, 42)
HSLhsl(101, 45%, 30%)
HSVhsv(101, 62%, 43%)
CMYKcmyk(41.8%, 0%, 61.8%, 56.9%)
CIE-LABlab(41.86, -29.28, 32.41)
CIE-LCHlch(41.86, 43.68, 132.10°)
OKLaboklab(48.89% -0.0809 0.076)
OKLCHoklch(48.89% 0.111 136.8)
XYZxyz(8.1080, 12.4086, 4.1579)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E2A #582A6E
analogous
#626E2A #406E2A #2A6E36
triadic
#406E2A #2A406E #6E2A40
tetradic
#406E2A #2A626E #582A6E #6E362A
square
#406E2A #2A626E #582A6E #6E362A
split-complementary
#406E2A #362A6E #6E2A62
monochromatic
#0D1608 #264219 #406E2A #5A9A3B #77BE55

Accessibility & contrast

On white

6.03
#406E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#406E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E2A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E2A#FFFFFF#000000##FFFFFF
##406E2A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#3E6A5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406e2a;
/* rgb */ color: rgb(64, 110, 42);
/* oklch */ color: oklch(48.9% 0.111 136.8);
Tailwind
colors: {
  custom: {
    50: '#789866',
    500: '#406e2a',
    950: '#000000',
  },
}
SCSS
$custom: #406e2a;
$custom-light: #789866;
$custom-dark: #000000;
JSON
{
  "hex": "#406e2a",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 100.588,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.11096,
    "h": 136.8
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#406E2A
secondary
#8754A0
accent
#53D4AB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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