#406E2C#406E2C

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

Color values

HEX#406E2C
RGBrgb(64, 110, 44)
HSLhsl(102, 43%, 30%)
HSVhsv(102, 60%, 43%)
CMYKcmyk(41.8%, 0%, 60%, 56.9%)
CIE-LABlab(41.88, -29.05, 31.42)
CIE-LCHlch(41.88, 42.79, 132.76°)
OKLaboklab(48.91% -0.0801 0.074)
OKLCHoklch(48.91% 0.109 137.3)
XYZxyz(8.1447, 12.4233, 4.3512)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E2C #5A2C6E
analogous
#616E2C #406E2C #2C6E39
triadic
#406E2C #2C406E #6E2C40
tetradic
#406E2C #2C616E #5A2C6E #6E392C
square
#406E2C #2C616E #5A2C6E #6E392C
split-complementary
#406E2C #392C6E #6E2C61
monochromatic
#0D1709 #27421B #406E2C #599A3D #76BC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406E2C#FFFFFF#000000##FFFFFF
##406E2C1.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)
#726525
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#3E6A60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406e2c;
/* rgb */ color: rgb(64, 110, 44);
/* oklch */ color: oklch(48.9% 0.109 137.3);
Tailwind
colors: {
  custom: {
    50: '#789867',
    500: '#406e2c',
    950: '#000000',
  },
}
SCSS
$custom: #406e2c;
$custom-light: #789867;
$custom-dark: #000000;
JSON
{
  "hex": "#406e2c",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 101.818,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.10906,
    "h": 137.3
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#406E2C
secondary
#8956A0
accent
#55D3AD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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