#408E2D#408E2D

#408E2D is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.153 H 140.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408E2D
RGBrgb(64, 142, 45)
HSLhsl(108, 52%, 37%)
HSVhsv(108, 68%, 56%)
CMYKcmyk(54.9%, 0%, 68.3%, 44.3%)
CIE-LABlab(52.54, -42.78, 42.84)
CIE-LCHlch(52.54, 60.54, 134.96°)
OKLaboklab(57.66% -0.1173 0.0985)
OKLCHoklch(57.66% 0.153 140)
XYZxyz(12.2605, 20.6245, 5.8170)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E2D #7B2D8E
analogous
#718E2D #408E2D #2D8E4A
triadic
#408E2D #2D408E #8E2D40
tetradic
#408E2D #2D718E #7B2D8E #8E4A2D
square
#408E2D #2D718E #7B2D8E #8E4A2D
split-complementary
#408E2D #4A2D8E #8E2D71
monochromatic
#163110 #2B601E #408E2D #55BC3C #7BCF67

Accessibility & contrast

On white

4.10
#408E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E2D#FFFFFF#000000##000000
##408E2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928120
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e2d;
/* rgb */ color: rgb(64, 142, 45);
/* oklch */ color: oklch(57.7% 0.153 140.0);
Tailwind
colors: {
  custom: {
    50: '#7db06b',
    500: '#408e2d',
    950: '#000000',
  },
}
SCSS
$custom: #408e2d;
$custom-light: #7db06b;
$custom-dark: #000000;
JSON
{
  "hex": "#408e2d",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 108.247,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.15319,
    "h": 140
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#408E2D
secondary
#A561B5
accent
#4CDBBF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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