#406F2D#406F2D

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

Color values

HEX#406F2D
RGBrgb(64, 111, 45)
HSLhsl(103, 42%, 31%)
HSVhsv(103, 59%, 44%)
CMYKcmyk(42.3%, 0%, 59.5%, 56.5%)
CIE-LABlab(42.23, -29.40, 31.31)
CIE-LCHlch(42.23, 42.95, 133.20°)
OKLaboklab(49.2% -0.081 0.0739)
OKLCHoklch(49.2% 0.11 137.6)
XYZxyz(8.2722, 12.6479, 4.4875)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F2D #5C2D6F
analogous
#616F2D #406F2D #2D6F3B
triadic
#406F2D #2D406F #6F2D40
tetradic
#406F2D #2D616F #5C2D6F #6F3B2D
square
#406F2D #2D616F #5C2D6F #6F3B2D
split-complementary
#406F2D #3B2D6F #6F2D61
monochromatic
#0E180A #27431B #406F2D #599B3F #76BC5A

Accessibility & contrast

On white

5.95
#406F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406F2D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F2D#FFFFFF#000000##FFFFFF
##406F2D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #406f2d;
/* rgb */ color: rgb(64, 111, 45);
/* oklch */ color: oklch(49.2% 0.110 137.6);
Tailwind
colors: {
  custom: {
    50: '#789968',
    500: '#406f2d',
    950: '#000000',
  },
}
SCSS
$custom: #406f2d;
$custom-light: #789968;
$custom-dark: #000000;
JSON
{
  "hex": "#406f2d",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 102.727,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.10962,
    "h": 137.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#406F2D
secondary
#8B57A1
accent
#56D2AE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #406F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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