#408B2E#408B2E

#408B2E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.148 H 140.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#408B2E
RGBrgb(64, 139, 46)
HSLhsl(108, 50%, 36%)
HSVhsv(108, 67%, 55%)
CMYKcmyk(54%, 0%, 66.9%, 45.5%)
CIE-LABlab(51.56, -41.48, 41.34)
CIE-LCHlch(51.56, 58.56, 135.09°)
OKLaboklab(56.85% -0.1137 0.0954)
OKLCHoklch(56.85% 0.148 140)
XYZxyz(11.8396, 19.7516, 5.7728)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B2E #792E8B
analogous
#6F8B2E #408B2E #2E8B4B
triadic
#408B2E #2E408B #8B2E40
tetradic
#408B2E #2E6F8B #792E8B #8B4B2E
square
#408B2E #2E6F8B #792E8B #8B4B2E
split-complementary
#408B2E #4B2E8B #8B2E6F
monochromatic
#162F10 #2B5D1F #408B2E #55B93D #7ACD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B2E#FFFFFF#000000##000000
##408B2E1.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)
#8F7F22
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#388678
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b2e;
/* rgb */ color: rgb(64, 139, 46);
/* oklch */ color: oklch(56.9% 0.148 140.0);
Tailwind
colors: {
  custom: {
    50: '#7cad6b',
    500: '#408b2e',
    950: '#000000',
  },
}
SCSS
$custom: #408b2e;
$custom-light: #7cad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#408b2e",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 108.387,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.14848,
    "h": 140
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#408B2E
secondary
#A461B3
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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