#406F2A#406F2A

#406F2A is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.112 H 136.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#406F2A
RGBrgb(64, 111, 42)
HSLhsl(101, 45%, 30%)
HSVhsv(101, 62%, 44%)
CMYKcmyk(42.3%, 0%, 62.2%, 56.5%)
CIE-LABlab(42.19, -29.75, 32.79)
CIE-LCHlch(42.19, 44.28, 132.22°)
OKLaboklab(49.16% -0.0821 0.0768)
OKLCHoklch(49.16% 0.112 136.9)
XYZxyz(8.2165, 12.6256, 4.1941)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F2A #592A6F
analogous
#626F2A #406F2A #2A6F37
triadic
#406F2A #2A406F #6F2A40
tetradic
#406F2A #2A626F #592A6F #6F372A
square
#406F2A #2A626F #592A6F #6F372A
split-complementary
#406F2A #372A6F #6F2A62
monochromatic
#0D1608 #264319 #406F2A #5A9B3B #77BF55

Accessibility & contrast

On white

5.96
#406F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#406F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F2A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F2A#FFFFFF#000000##FFFFFF
##406F2A1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736623
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#3E6B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406f2a;
/* rgb */ color: rgb(64, 111, 42);
/* oklch */ color: oklch(49.2% 0.112 136.9);
Tailwind
colors: {
  custom: {
    50: '#789966',
    500: '#406f2a',
    950: '#000000',
  },
}
SCSS
$custom: #406f2a;
$custom-light: #789966;
$custom-dark: #000000;
JSON
{
  "hex": "#406f2a",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 100.87,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.11244,
    "h": 136.9
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#406F2A
secondary
#8854A1
accent
#53D5AB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #406F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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