#408B2F#408B2F

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

Color values

HEX#408B2F
RGBrgb(64, 139, 47)
HSLhsl(109, 49%, 36%)
HSVhsv(109, 66%, 55%)
CMYKcmyk(54%, 0%, 66.2%, 45.5%)
CIE-LABlab(51.56, -41.37, 40.90)
CIE-LCHlch(51.56, 58.18, 135.33°)
OKLaboklab(56.86% -0.1134 0.0946)
OKLCHoklch(56.86% 0.148 140.2)
XYZxyz(11.8596, 19.7595, 5.8778)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B2F #7A2F8B
analogous
#6E8B2F #408B2F #2F8B4C
triadic
#408B2F #2F408B #8B2F40
tetradic
#408B2F #2F6E8B #7A2F8B #8B4C2F
square
#408B2F #2F6E8B #7A2F8B #8B4C2F
split-complementary
#408B2F #4C2F8B #8B2F6E
monochromatic
#163010 #2B5D20 #408B2F #55B93E #7BCC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B2F#FFFFFF#000000##000000
##408B2F1.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)
#8F7F24
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#388778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b2f;
/* rgb */ color: rgb(64, 139, 47);
/* oklch */ color: oklch(56.9% 0.148 140.2);
Tailwind
colors: {
  custom: {
    50: '#7cad6c',
    500: '#408b2f',
    950: '#000000',
  },
}
SCSS
$custom: #408b2f;
$custom-light: #7cad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#408b2f",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 108.913,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.1477,
    "h": 140.2
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#408B2F
secondary
#A463B3
accent
#4FD9BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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