#408D4E#408D4E

#408D4E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.8% C 0.122 H 147.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#408D4E
RGBrgb(64, 141, 78)
HSLhsl(131, 38%, 40%)
HSVhsv(131, 55%, 55%)
CMYKcmyk(54.6%, 0%, 44.7%, 44.7%)
CIE-LABlab(52.61, -38.02, 26.53)
CIE-LCHlch(52.61, 46.36, 145.09°)
OKLaboklab(57.84% -0.103 0.0653)
OKLCHoklch(57.84% 0.122 147.7)
XYZxyz(13.0136, 20.6887, 10.5138)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D4E #8D407F
analogous
#588D40 #408D4E #408D74
triadic
#408D4E #4E408D #8D4E40
tetradic
#408D4E #40588D #8D407F #8D7440
square
#408D4E #40588D #8D407F #8D7440
split-complementary
#408D4E #74408D #8D4058
monochromatic
#1A391F #2D6337 #408D4E #57B368 #81C68E

Accessibility & contrast

On white

4.09
#408D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#408D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D4E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D4E#FFFFFF#000000##000000
##408D4E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8249
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#318A7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408d4e;
/* rgb */ color: rgb(64, 141, 78);
/* oklch */ color: oklch(57.8% 0.122 147.7);
Tailwind
colors: {
  custom: {
    50: '#7baf80',
    500: '#408d4e',
    950: '#000000',
  },
}
SCSS
$custom: #408d4e;
$custom-light: #7baf80;
$custom-dark: #000000;
JSON
{
  "hex": "#408d4e",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 130.909,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.12195,
    "h": 147.7
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#408D4E
secondary
#B078A6
accent
#5AB9CE
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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