#408F4E#408F4E

#408F4E is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.4% C 0.125 H 147.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#408F4E
RGBrgb(64, 143, 78)
HSLhsl(131, 38%, 41%)
HSVhsv(131, 55%, 56%)
CMYKcmyk(55.2%, 0%, 45.5%, 43.9%)
CIE-LABlab(53.26, -38.87, 27.37)
CIE-LCHlch(53.26, 47.54, 144.85°)
OKLaboklab(58.38% -0.1053 0.0672)
OKLCHoklch(58.38% 0.125 147.5)
XYZxyz(13.3111, 21.2838, 10.6130)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F4E #8F4081
analogous
#598F40 #408F4E #408F75
triadic
#408F4E #4E408F #8F4E40
tetradic
#408F4E #40598F #8F4081 #8F7540
square
#408F4E #40598F #8F4081 #8F7540
split-complementary
#408F4E #75408F #8F4059
monochromatic
#1A3A20 #2D6537 #408F4E #58B468 #82C78E

Accessibility & contrast

On white

3.99
#408F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#408F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F4E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F4E#FFFFFF#000000##000000
##408F4E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#867C52
Tritanopia (blue-blind)
#308C7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #408f4e;
/* rgb */ color: rgb(64, 143, 78);
/* oklch */ color: oklch(58.4% 0.125 147.5);
Tailwind
colors: {
  custom: {
    50: '#7cb080',
    500: '#408f4e',
    950: '#000000',
  },
}
SCSS
$custom: #408f4e;
$custom-light: #7cb080;
$custom-dark: #000000;
JSON
{
  "hex": "#408f4e",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 130.633,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.12492,
    "h": 147.5
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#408F4E
secondary
#B279A8
accent
#5AB9CE
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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