#408E1E#408E1E

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

Color values

HEX#408E1E
RGBrgb(64, 142, 30)
HSLhsl(102, 65%, 34%)
HSVhsv(102, 79%, 56%)
CMYKcmyk(54.9%, 0%, 78.9%, 44.3%)
CIE-LABlab(52.43, -43.98, 48.54)
CIE-LCHlch(52.43, 65.50, 132.17°)
OKLaboklab(57.54% -0.1215 0.1083)
OKLCHoklch(57.54% 0.163 138.3)
XYZxyz(12.0213, 20.5288, 4.5570)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E1E #6C1E8E
analogous
#788E1E #408E1E #1E8E34
triadic
#408E1E #1E408E #8E1E40
tetradic
#408E1E #1E788E #6C1E8E #8E341E
square
#408E1E #1E788E #6C1E8E #8E341E
split-complementary
#408E1E #341E8E #8E1E78
monochromatic
#122909 #295B13 #408E1E #57C129 #78D94D

Accessibility & contrast

On white

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

On black

5.11
#408E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E1E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E1E#FFFFFF#000000##000000
##408E1E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408e1e;
/* rgb */ color: rgb(64, 142, 30);
/* oklch */ color: oklch(57.5% 0.163 138.3);
Tailwind
colors: {
  custom: {
    50: '#7eb063',
    500: '#408e1e',
    950: '#000000',
  },
}
SCSS
$custom: #408e1e;
$custom-light: #7eb063;
$custom-dark: #000000;
JSON
{
  "hex": "#408e1e",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 101.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.1628,
    "h": 138.3
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#408E1E
secondary
#9A4CBC
accent
#40E8B5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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