#408E48#408E48

#408E48 is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.129 H 145.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#408E48
RGBrgb(64, 142, 72)
HSLhsl(126, 38%, 40%)
HSVhsv(126, 55%, 56%)
CMYKcmyk(54.9%, 0%, 49.3%, 44.3%)
CIE-LABlab(52.84, -39.41, 30.05)
CIE-LCHlch(52.84, 49.56, 142.68°)
OKLaboklab(58.01% -0.1069 0.073)
OKLCHoklch(58.01% 0.129 145.7)
XYZxyz(12.9563, 20.9028, 9.4815)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E48 #8E4086
analogous
#5F8E40 #408E48 #408E6F
triadic
#408E48 #48408E #8E4840
tetradic
#408E48 #405F8E #8E4086 #8E6F40
square
#408E48 #405F8E #8E4086 #8E6F40
split-complementary
#408E48 #6F408E #8E405F
monochromatic
#1A3A1D #2D6433 #408E48 #58B461 #82C789

Accessibility & contrast

On white

4.05
#408E48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#408E48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E48
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E48#FFFFFF#000000##000000
##408E481.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#867B4D
Tritanopia (blue-blind)
#328B7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408e48;
/* rgb */ color: rgb(64, 142, 72);
/* oklch */ color: oklch(58.0% 0.129 145.7);
Tailwind
colors: {
  custom: {
    50: '#7cb07c',
    500: '#408e48',
    950: '#000000',
  },
}
SCSS
$custom: #408e48;
$custom-light: #7cb07c;
$custom-dark: #000000;
JSON
{
  "hex": "#408e48",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 72
  },
  "hsl": {
    "h": 126.154,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.12943,
    "h": 145.7
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#408E48
secondary
#B179AB
accent
#5AC2CE
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #408E48

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

Preview Lab → · Contrast checker → · Palette generator →

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