#408E29#408E29

#408E29 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.156 H 139.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408E29
RGBrgb(64, 142, 41)
HSLhsl(106, 55%, 36%)
HSVhsv(106, 71%, 56%)
CMYKcmyk(54.9%, 0%, 71.1%, 44.3%)
CIE-LABlab(52.50, -43.14, 44.49)
CIE-LCHlch(52.50, 61.97, 134.12°)
OKLaboklab(57.62% -0.1186 0.1014)
OKLCHoklch(57.62% 0.156 139.5)
XYZxyz(12.1871, 20.5951, 5.4304)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E29 #77298E
analogous
#728E29 #408E29 #298E45
triadic
#408E29 #29408E #8E2940
tetradic
#408E29 #29728E #77298E #8E4529
square
#408E29 #29728E #77298E #8E4529
split-complementary
#408E29 #45298E #8E2972
monochromatic
#152F0E #2B5F1B #408E29 #55BD37 #7AD160

Accessibility & contrast

On white

4.10
#408E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E29
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E29#FFFFFF#000000##000000
##408E291.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e29;
/* rgb */ color: rgb(64, 142, 41);
/* oklch */ color: oklch(57.6% 0.156 139.5);
Tailwind
colors: {
  custom: {
    50: '#7db069',
    500: '#408e29',
    950: '#000000',
  },
}
SCSS
$custom: #408e29;
$custom-light: #7db069;
$custom-dark: #000000;
JSON
{
  "hex": "#408e29",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 106.337,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.15605,
    "h": 139.5
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#408E29
secondary
#A25CB7
accent
#49DFBD
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408E29

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

Preview Lab → · Contrast checker → · Palette generator →

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