#408E1D#408E1D

#408E1D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.163 H 138.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#408E1D
RGBrgb(64, 142, 29)
HSLhsl(101, 66%, 34%)
HSVhsv(101, 80%, 56%)
CMYKcmyk(54.9%, 0%, 79.6%, 44.3%)
CIE-LABlab(52.42, -44.04, 48.87)
CIE-LCHlch(52.42, 65.79, 132.02°)
OKLaboklab(57.53% -0.1218 0.1089)
OKLCHoklch(57.53% 0.163 138.2)
XYZxyz(12.0087, 20.5237, 4.4908)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E1D #6B1D8E
analogous
#788E1D #408E1D #1D8E32
triadic
#408E1D #1D408E #8E1D40
tetradic
#408E1D #1D788E #6B1D8E #8E321D
square
#408E1D #1D788E #6B1D8E #8E321D
split-complementary
#408E1D #321D8E #8E1D78
monochromatic
#122808 #295B13 #408E1D #57C127 #77DA4B

Accessibility & contrast

On white

4.11
#408E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#408E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E1D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E1D#FFFFFF#000000##000000
##408E1D1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e1d;
/* rgb */ color: rgb(64, 142, 29);
/* oklch */ color: oklch(57.5% 0.163 138.2);
Tailwind
colors: {
  custom: {
    50: '#7eb063',
    500: '#408e1d',
    950: '#000000',
  },
}
SCSS
$custom: #408e1d;
$custom-light: #7eb063;
$custom-dark: #000000;
JSON
{
  "hex": "#408e1d",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 101.416,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57528,
    "c": 0.16334,
    "h": 138.2
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#408E1D
secondary
#994ABD
accent
#3FE9B4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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