#408E34#408E34

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

Color values

HEX#408E34
RGBrgb(64, 142, 52)
HSLhsl(112, 46%, 38%)
HSVhsv(112, 63%, 56%)
CMYKcmyk(54.9%, 0%, 63.4%, 44.3%)
CIE-LABlab(52.60, -42.06, 39.77)
CIE-LCHlch(52.60, 57.88, 136.60°)
OKLaboklab(57.73% -0.1149 0.0928)
OKLCHoklch(57.73% 0.148 141.1)
XYZxyz(12.4066, 20.6829, 6.5866)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E34 #82348E
analogous
#6D8E34 #408E34 #348E55
triadic
#408E34 #34408E #8E3440
tetradic
#408E34 #346D8E #82348E #8E5534
square
#408E34 #346D8E #82348E #8E5534
split-complementary
#408E34 #55348E #8E346D
monochromatic
#183413 #2C6124 #408E34 #54BB44 #7DCB71

Accessibility & contrast

On white

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

On black

5.14
#408E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E34
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E34#FFFFFF#000000##000000
##408E341.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#877B3B
Tritanopia (blue-blind)
#368A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e34;
/* rgb */ color: rgb(64, 142, 52);
/* oklch */ color: oklch(57.7% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#7db06f',
    500: '#408e34',
    950: '#000000',
  },
}
SCSS
$custom: #408e34;
$custom-light: #7db06f;
$custom-dark: #000000;
JSON
{
  "hex": "#408e34",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 112,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.14771,
    "h": 141.1
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#408E34
secondary
#AA6AB3
accent
#52D6C4
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E34

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

Preview Lab → · Contrast checker → · Palette generator →

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