#408A1D#408A1D

#408A1D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.158 H 137.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#408A1D
RGBrgb(64, 138, 29)
HSLhsl(101, 65%, 33%)
HSVhsv(101, 79%, 54%)
CMYKcmyk(53.6%, 0%, 79%, 45.9%)
CIE-LABlab(51.10, -42.47, 47.60)
CIE-LCHlch(51.10, 63.79, 131.74°)
OKLaboklab(56.44% -0.1175 0.1062)
OKLCHoklch(56.44% 0.158 137.9)
XYZxyz(11.4242, 19.3548, 4.2960)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A1D #671D8A
analogous
#768A1D #408A1D #1D8A31
triadic
#408A1D #1D408A #8A1D40
tetradic
#408A1D #1D768A #671D8A #8A311D
square
#408A1D #1D768A #671D8A #8A311D
split-complementary
#408A1D #311D8A #8A1D76
monochromatic
#112508 #295712 #408A1D #57BD28 #77D949

Accessibility & contrast

On white

4.31
#408A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#408A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A1D#FFFFFF#000000##000000
##408A1D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E02
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#3A8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a1d;
/* rgb */ color: rgb(64, 138, 29);
/* oklch */ color: oklch(56.4% 0.158 137.9);
Tailwind
colors: {
  custom: {
    50: '#7dad62',
    500: '#408a1d',
    950: '#000000',
  },
}
SCSS
$custom: #408a1d;
$custom-light: #7dad62;
$custom-dark: #000000;
JSON
{
  "hex": "#408a1d",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 100.734,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.15842,
    "h": 137.9
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#408A1D
secondary
#9648BB
accent
#40E8B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #408A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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