#408B4E#408B4E

#408B4E is a mid, moderate green. Relative luminance 0.201; OKLCH L 57.3% C 0.119 H 147.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#408B4E
RGBrgb(64, 139, 78)
HSLhsl(131, 37%, 40%)
HSVhsv(131, 54%, 55%)
CMYKcmyk(54%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.95, -37.15, 25.69)
CIE-LCHlch(51.95, 45.17, 145.33°)
OKLaboklab(57.31% -0.1007 0.0633)
OKLCHoklch(57.31% 0.119 147.8)
XYZxyz(12.7213, 20.1042, 10.4164)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B4E #8B407D
analogous
#588B40 #408B4E #408B74
triadic
#408B4E #4E408B #8B4E40
tetradic
#408B4E #40588B #8B407D #8B7440
square
#408B4E #40588B #8B407D #8B7440
split-complementary
#408B4E #74408B #8B4058
monochromatic
#19371F #2D6136 #408B4E #57B268 #81C58D

Accessibility & contrast

On white

4.18
#408B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#408B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B4E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B4E#FFFFFF#000000##000000
##408B4E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8049
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#31887C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408b4e;
/* rgb */ color: rgb(64, 139, 78);
/* oklch */ color: oklch(57.3% 0.119 147.8);
Tailwind
colors: {
  custom: {
    50: '#7bad80',
    500: '#408b4e',
    950: '#000000',
  },
}
SCSS
$custom: #408b4e;
$custom-light: #7bad80;
$custom-dark: #000000;
JSON
{
  "hex": "#408b4e",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 131.2,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.11896,
    "h": 147.8
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#408B4E
secondary
#AF78A5
accent
#5BB8CD
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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