#408F5D#408F5D

#408F5D is a mid, moderate green. Relative luminance 0.215; OKLCH L 58.7% C 0.110 H 153.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#408F5D
RGBrgb(64, 143, 93)
HSLhsl(142, 38%, 41%)
HSVhsv(142, 55%, 56%)
CMYKcmyk(55.2%, 0%, 35%, 43.9%)
CIE-LABlab(53.52, -36.15, 19.46)
CIE-LCHlch(53.52, 41.05, 151.71°)
OKLaboklab(58.68% -0.0983 0.0489)
OKLCHoklch(58.68% 0.11 153.5)
XYZxyz(13.9115, 21.5240, 13.7752)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F5D #8F4072
analogous
#4B8F40 #408F5D #408F84
triadic
#408F5D #5D408F #8F5D40
tetradic
#408F5D #404B8F #8F4072 #8F8440
square
#408F5D #404B8F #8F4072 #8F8440
split-complementary
#408F5D #84408F #8F404B
monochromatic
#1A3A26 #2D6542 #408F5D #58B47A #82C79C

Accessibility & contrast

On white

3.96
#408F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#408F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F5D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F5D#FFFFFF#000000##000000
##408F5D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855A
Deuteranopia (green-blind)
#847D60
Tritanopia (blue-blind)
#2B8D82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #408f5d;
/* rgb */ color: rgb(64, 143, 93);
/* oklch */ color: oklch(58.7% 0.110 153.5);
Tailwind
colors: {
  custom: {
    50: '#7bb08b',
    500: '#408f5d',
    950: '#000000',
  },
}
SCSS
$custom: #408f5d;
$custom-light: #7bb08b;
$custom-dark: #000000;
JSON
{
  "hex": "#408f5d",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 142.025,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58676,
    "c": 0.10979,
    "h": 153.5
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#408F5D
secondary
#B2799D
accent
#5AA3CE
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #408F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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