#408D2B#408D2B

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

Color values

HEX#408D2B
RGBrgb(64, 141, 43)
HSLhsl(107, 53%, 36%)
HSVhsv(107, 70%, 55%)
CMYKcmyk(54.6%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.19, -42.57, 43.33)
CIE-LCHlch(52.19, 60.74, 134.49°)
OKLaboklab(57.37% -0.1169 0.0992)
OKLCHoklch(57.37% 0.153 139.7)
XYZxyz(12.0748, 20.3132, 5.5696)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D2B #782B8D
analogous
#718D2B #408D2B #2B8D47
triadic
#408D2B #2B408D #8D2B40
tetradic
#408D2B #2B718D #782B8D #8D472B
square
#408D2B #2B718D #782B8D #8D472B
split-complementary
#408D2B #472B8D #8D2B71
monochromatic
#152F0E #2B5E1D #408D2B #55BC39 #7ACF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408D2B#FFFFFF#000000##000000
##408D2B1.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)
#91811D
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d2b;
/* rgb */ color: rgb(64, 141, 43);
/* oklch */ color: oklch(57.4% 0.153 139.7);
Tailwind
colors: {
  custom: {
    50: '#7daf6a',
    500: '#408d2b',
    950: '#000000',
  },
}
SCSS
$custom: #408d2b;
$custom-light: #7daf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#408d2b",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 107.143,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.15334,
    "h": 139.7
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#408D2B
secondary
#A35EB6
accent
#4BDDBD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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