#408D32#408D32

#408D32 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.148 H 140.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#408D32
RGBrgb(64, 141, 50)
HSLhsl(111, 48%, 37%)
HSVhsv(111, 65%, 55%)
CMYKcmyk(54.6%, 0%, 64.5%, 44.7%)
CIE-LABlab(52.25, -41.87, 40.30)
CIE-LCHlch(52.25, 58.11, 136.10°)
OKLaboklab(57.44% -0.1146 0.0937)
OKLCHoklch(57.44% 0.148 140.7)
XYZxyz(12.2144, 20.3691, 6.3050)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D32 #7F328D
analogous
#6E8D32 #408D32 #328D51
triadic
#408D32 #32408D #8D3240
tetradic
#408D32 #326E8D #7F328D #8D5132
square
#408D32 #326E8D #7F328D #8D5132
split-complementary
#408D32 #51328D #8D326E
monochromatic
#173312 #2B6022 #408D32 #55BA42 #7CCC6E

Accessibility & contrast

On white

4.14
#408D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#408D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D32
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D32#FFFFFF#000000##000000
##408D321.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#877A3A
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408d32;
/* rgb */ color: rgb(64, 141, 50);
/* oklch */ color: oklch(57.4% 0.148 140.7);
Tailwind
colors: {
  custom: {
    50: '#7caf6e',
    500: '#408d32',
    950: '#000000',
  },
}
SCSS
$custom: #408d32;
$custom-light: #7caf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#408d32",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 110.769,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.14799,
    "h": 140.7
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#408D32
secondary
#A868B3
accent
#51D7C3
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D32

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

Preview Lab → · Contrast checker → · Palette generator →

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