#408B1D#408B1D

#408B1D is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.160 H 138.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#408B1D
RGBrgb(64, 139, 29)
HSLhsl(101, 65%, 33%)
HSVhsv(101, 79%, 55%)
CMYKcmyk(54%, 0%, 79.1%, 45.5%)
CIE-LABlab(51.43, -42.86, 47.92)
CIE-LCHlch(51.43, 64.29, 131.81°)
OKLaboklab(56.71% -0.1186 0.1069)
OKLCHoklch(56.71% 0.16 138)
XYZxyz(11.5683, 19.6430, 4.3440)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B1D #681D8B
analogous
#778B1D #408B1D #1D8B31
triadic
#408B1D #1D408B #8B1D40
tetradic
#408B1D #1D778B #681D8B #8B311D
square
#408B1D #1D778B #681D8B #8B311D
split-complementary
#408B1D #311D8B #8B1D77
monochromatic
#112608 #295812 #408B1D #57BE28 #77D949

Accessibility & contrast

On white

4.26
#408B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#408B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B1D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B1D#FFFFFF#000000##000000
##408B1D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E01
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#3A8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b1d;
/* rgb */ color: rgb(64, 139, 29);
/* oklch */ color: oklch(56.7% 0.160 138.0);
Tailwind
colors: {
  custom: {
    50: '#7dad62',
    500: '#408b1d',
    950: '#000000',
  },
}
SCSS
$custom: #408b1d;
$custom-light: #7dad62;
$custom-dark: #000000;
JSON
{
  "hex": "#408b1d",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 100.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.15965,
    "h": 138
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

primary
#408B1D
secondary
#9749BB
accent
#3FE8B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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