#408D49#408D49

#408D49 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.8% C 0.127 H 146.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408D49
RGBrgb(64, 141, 73)
HSLhsl(127, 38%, 40%)
HSVhsv(127, 55%, 55%)
CMYKcmyk(54.6%, 0%, 48.2%, 44.7%)
CIE-LABlab(52.53, -38.83, 29.12)
CIE-LCHlch(52.53, 48.54, 143.13°)
OKLaboklab(57.76% -0.1053 0.071)
OKLCHoklch(57.76% 0.127 146)
XYZxyz(12.8411, 20.6197, 9.6054)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D49 #8D4084
analogous
#5D8D40 #408D49 #408D6F
triadic
#408D49 #49408D #8D4940
tetradic
#408D49 #405D8D #8D4084 #8D6F40
square
#408D49 #405D8D #8D4084 #8D6F40
split-complementary
#408D49 #6F408D #8D405D
monochromatic
#1A391D #2D6333 #408D49 #57B362 #81C689

Accessibility & contrast

On white

4.10
#408D49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D49
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D49#FFFFFF#000000##000000
##408D491.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8244
Deuteranopia (green-blind)
#857B4E
Tritanopia (blue-blind)
#328A7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408d49;
/* rgb */ color: rgb(64, 141, 73);
/* oklch */ color: oklch(57.8% 0.127 146.0);
Tailwind
colors: {
  custom: {
    50: '#7baf7d',
    500: '#408d49',
    950: '#000000',
  },
}
SCSS
$custom: #408d49;
$custom-light: #7baf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#408d49",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 127.013,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.12697,
    "h": 146
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#408D49
secondary
#B078AA
accent
#5AC0CE
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408D49

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

Preview Lab → · Contrast checker → · Palette generator →

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