#408E32#408E32

#408E32 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.149 H 140.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#408E32
RGBrgb(64, 142, 50)
HSLhsl(111, 48%, 38%)
HSVhsv(111, 65%, 56%)
CMYKcmyk(54.9%, 0%, 64.8%, 44.3%)
CIE-LABlab(52.58, -42.28, 40.67)
CIE-LCHlch(52.58, 58.66, 136.11°)
OKLaboklab(57.71% -0.1157 0.0945)
OKLCHoklch(57.71% 0.149 140.8)
XYZxyz(12.3625, 20.6653, 6.3543)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E32 #80328E
analogous
#6E8E32 #408E32 #328E52
triadic
#408E32 #32408E #8E3240
tetradic
#408E32 #326E8E #80328E #8E5232
square
#408E32 #326E8E #80328E #8E5232
split-complementary
#408E32 #52328E #8E326E
monochromatic
#173312 #2C6122 #408E32 #54BB42 #7DCC6E

Accessibility & contrast

On white

4.09
#408E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#408E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E32
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E32#FFFFFF#000000##000000
##408E321.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#887B3A
Tritanopia (blue-blind)
#378A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e32;
/* rgb */ color: rgb(64, 142, 50);
/* oklch */ color: oklch(57.7% 0.149 140.8);
Tailwind
colors: {
  custom: {
    50: '#7db06e',
    500: '#408e32',
    950: '#000000',
  },
}
SCSS
$custom: #408e32;
$custom-light: #7db06e;
$custom-dark: #000000;
JSON
{
  "hex": "#408e32",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 110.87,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.14933,
    "h": 140.8
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#408E32
secondary
#A868B4
accent
#50D8C3
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E32

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

Preview Lab → · Contrast checker → · Palette generator →

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