#408E4E#408E4E

#408E4E is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.1% C 0.123 H 147.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#408E4E
RGBrgb(64, 142, 78)
HSLhsl(131, 38%, 40%)
HSVhsv(131, 55%, 56%)
CMYKcmyk(54.9%, 0%, 45.1%, 44.3%)
CIE-LABlab(52.93, -38.45, 26.95)
CIE-LCHlch(52.93, 46.95, 144.97°)
OKLaboklab(58.11% -0.1042 0.0662)
OKLCHoklch(58.11% 0.123 147.6)
XYZxyz(13.1617, 20.9849, 10.5632)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E4E #8E4080
analogous
#598E40 #408E4E #408E75
triadic
#408E4E #4E408E #8E4E40
tetradic
#408E4E #40598E #8E4080 #8E7540
square
#408E4E #40598E #8E4080 #8E7540
split-complementary
#408E4E #75408E #8E4059
monochromatic
#1A3A20 #2D6437 #408E4E #58B468 #82C78E

Accessibility & contrast

On white

4.04
#408E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#408E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E4E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E4E#FFFFFF#000000##000000
##408E4E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#857C52
Tritanopia (blue-blind)
#308B7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408e4e;
/* rgb */ color: rgb(64, 142, 78);
/* oklch */ color: oklch(58.1% 0.123 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bb080',
    500: '#408e4e',
    950: '#000000',
  },
}
SCSS
$custom: #408e4e;
$custom-light: #7bb080;
$custom-dark: #000000;
JSON
{
  "hex": "#408e4e",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 130.769,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.12345,
    "h": 147.6
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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