#408B2D#408B2D

#408B2D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.149 H 139.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#408B2D
RGBrgb(64, 139, 45)
HSLhsl(108, 51%, 36%)
HSVhsv(108, 68%, 55%)
CMYKcmyk(54%, 0%, 67.6%, 45.5%)
CIE-LABlab(51.55, -41.57, 41.77)
CIE-LCHlch(51.55, 58.94, 134.86°)
OKLaboklab(56.84% -0.1141 0.0962)
OKLCHoklch(56.84% 0.149 139.9)
XYZxyz(11.8201, 19.7438, 5.6702)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B2D #782D8B
analogous
#6F8B2D #408B2D #2D8B49
triadic
#408B2D #2D408B #8B2D40
tetradic
#408B2D #2D6F8B #782D8B #8B492D
square
#408B2D #2D6F8B #782D8B #8B492D
split-complementary
#408B2D #492D8B #8B2D6F
monochromatic
#152F0F #2B5D1E #408B2D #55B93C #7ACD65

Accessibility & contrast

On white

4.24
#408B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#408B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B2D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B2D#FFFFFF#000000##000000
##408B2D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#388678
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b2d;
/* rgb */ color: rgb(64, 139, 45);
/* oklch */ color: oklch(56.8% 0.149 139.9);
Tailwind
colors: {
  custom: {
    50: '#7cad6b',
    500: '#408b2d',
    950: '#000000',
  },
}
SCSS
$custom: #408b2d;
$custom-light: #7cad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#408b2d",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 107.872,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.14924,
    "h": 139.9
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#408B2D
secondary
#A360B4
accent
#4DDBBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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