#406D2C#406D2C

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

Color values

HEX#406D2C
RGBrgb(64, 109, 44)
HSLhsl(102, 42%, 30%)
HSVhsv(102, 60%, 43%)
CMYKcmyk(41.3%, 0%, 59.6%, 57.3%)
CIE-LABlab(41.55, -28.58, 31.03)
CIE-LCHlch(41.55, 42.18, 132.65°)
OKLaboklab(48.64% -0.0788 0.0732)
OKLCHoklch(48.64% 0.108 137.1)
XYZxyz(8.0374, 12.2087, 4.3154)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D2C #592C6D
analogous
#616D2C #406D2C #2C6D38
triadic
#406D2C #2C406D #6D2C40
tetradic
#406D2C #2C616D #592C6D #6D382C
square
#406D2C #2C616D #592C6D #6D382C
split-complementary
#406D2C #382C6D #6D2C61
monochromatic
#0D1609 #26411A #406D2C #5A993E #77BC58

Accessibility & contrast

On white

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

On black

3.44
#406D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406D2C#FFFFFF#000000##FFFFFF
##406D2C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #406d2c;
/* rgb */ color: rgb(64, 109, 44);
/* oklch */ color: oklch(48.6% 0.108 137.1);
Tailwind
colors: {
  custom: {
    50: '#789767',
    500: '#406d2c',
    950: '#000000',
  },
}
SCSS
$custom: #406d2c;
$custom-light: #789767;
$custom-dark: #000000;
JSON
{
  "hex": "#406d2c",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 101.538,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.10755,
    "h": 137.1
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#406D2C
secondary
#88569F
accent
#56D2AC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090D06
muted
#7B7E7A

Preview Lab

Preview with #406D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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