#408D2C#408D2C

#408D2C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.153 H 139.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#408D2C
RGBrgb(64, 141, 44)
HSLhsl(108, 52%, 36%)
HSVhsv(108, 69%, 55%)
CMYKcmyk(54.6%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.20, -42.47, 42.91)
CIE-LCHlch(52.20, 60.38, 134.71°)
OKLaboklab(57.38% -0.1166 0.0985)
OKLCHoklch(57.38% 0.153 139.8)
XYZxyz(12.0933, 20.3206, 5.6674)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D2C #792C8D
analogous
#718D2C #408D2C #2C8D49
triadic
#408D2C #2C408D #8D2C40
tetradic
#408D2C #2C718D #792C8D #8D492C
square
#408D2C #2C718D #792C8D #8D492C
split-complementary
#408D2C #492C8D #8D2C71
monochromatic
#16300F #2B5E1D #408D2C #55BC3B #7ACF65

Accessibility & contrast

On white

4.15
#408D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#408D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D2C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D2C#FFFFFF#000000##000000
##408D2C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d2c;
/* rgb */ color: rgb(64, 141, 44);
/* oklch */ color: oklch(57.4% 0.153 139.8);
Tailwind
colors: {
  custom: {
    50: '#7daf6a',
    500: '#408d2c',
    950: '#000000',
  },
}
SCSS
$custom: #408d2c;
$custom-light: #7daf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#408d2c",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 107.629,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.15262,
    "h": 139.8
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#408D2C
secondary
#A460B5
accent
#4CDCBE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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