#408C4E#408C4E

#408C4E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.6% C 0.120 H 147.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#408C4E
RGBrgb(64, 140, 78)
HSLhsl(131, 37%, 40%)
HSVhsv(131, 54%, 55%)
CMYKcmyk(54.3%, 0%, 44.3%, 45.1%)
CIE-LABlab(52.28, -37.58, 26.11)
CIE-LCHlch(52.28, 45.76, 145.21°)
OKLaboklab(57.58% -0.1019 0.0643)
OKLCHoklch(57.58% 0.12 147.7)
XYZxyz(12.8668, 20.3951, 10.4649)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C4E #8C407E
analogous
#588C40 #408C4E #408C74
triadic
#408C4E #4E408C #8C4E40
tetradic
#408C4E #40588C #8C407E #8C7440
square
#408C4E #40588C #8C407E #8C7440
split-complementary
#408C4E #74408C #8C4058
monochromatic
#1A381F #2D6237 #408C4E #57B268 #81C58E

Accessibility & contrast

On white

4.13
#408C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#408C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C4E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C4E#FFFFFF#000000##000000
##408C4E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#31897D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408c4e;
/* rgb */ color: rgb(64, 140, 78);
/* oklch */ color: oklch(57.6% 0.120 147.7);
Tailwind
colors: {
  custom: {
    50: '#7bae80',
    500: '#408c4e',
    950: '#000000',
  },
}
SCSS
$custom: #408c4e;
$custom-light: #7bae80;
$custom-dark: #000000;
JSON
{
  "hex": "#408c4e",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 131.053,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.12046,
    "h": 147.7
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#408C4E
secondary
#B078A6
accent
#5BB8CD
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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