#408A4E#408A4E

#408A4E is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.0% C 0.117 H 147.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#408A4E
RGBrgb(64, 138, 78)
HSLhsl(131, 37%, 40%)
HSVhsv(131, 54%, 54%)
CMYKcmyk(53.6%, 0%, 43.5%, 45.9%)
CIE-LABlab(51.63, -36.71, 25.27)
CIE-LCHlch(51.63, 44.57, 145.46°)
OKLaboklab(57.04% -0.0995 0.0623)
OKLCHoklch(57.04% 0.117 147.9)
XYZxyz(12.5772, 19.8160, 10.3683)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A4E #8A407C
analogous
#578A40 #408A4E #408A73
triadic
#408A4E #4E408A #8A4E40
tetradic
#408A4E #40578A #8A407C #8A7340
square
#408A4E #40578A #8A407C #8A7340
split-complementary
#408A4E #73408A #8A4057
monochromatic
#19361F #2D6036 #408A4E #56B167 #80C48D

Accessibility & contrast

On white

4.23
#408A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#408A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A4E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A4E#FFFFFF#000000##000000
##408A4E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4A
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#31877B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408a4e;
/* rgb */ color: rgb(64, 138, 78);
/* oklch */ color: oklch(57.0% 0.117 147.9);
Tailwind
colors: {
  custom: {
    50: '#7bad80',
    500: '#408a4e',
    950: '#000000',
  },
}
SCSS
$custom: #408a4e;
$custom-light: #7bad80;
$custom-dark: #000000;
JSON
{
  "hex": "#408a4e",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 131.351,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.11744,
    "h": 147.9
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#408A4E
secondary
#AF77A4
accent
#5BB7CD
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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