#408D29#408D29

#408D29 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.155 H 139.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#408D29
RGBrgb(64, 141, 41)
HSLhsl(106, 55%, 36%)
HSVhsv(106, 71%, 55%)
CMYKcmyk(54.6%, 0%, 70.9%, 44.7%)
CIE-LABlab(52.17, -42.75, 44.15)
CIE-LCHlch(52.17, 61.45, 134.08°)
OKLaboklab(57.35% -0.1175 0.1007)
OKLCHoklch(57.35% 0.155 139.4)
XYZxyz(12.0390, 20.2989, 5.3811)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D29 #76298D
analogous
#728D29 #408D29 #298D44
triadic
#408D29 #29408D #8D2940
tetradic
#408D29 #29728D #76298D #8D4429
square
#408D29 #29728D #76298D #8D4429
split-complementary
#408D29 #44298D #8D2972
monochromatic
#152E0D #2A5E1B #408D29 #56BC37 #7AD160

Accessibility & contrast

On white

4.15
#408D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#408D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D29
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D29#FFFFFF#000000##000000
##408D291.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d29;
/* rgb */ color: rgb(64, 141, 41);
/* oklch */ color: oklch(57.3% 0.155 139.4);
Tailwind
colors: {
  custom: {
    50: '#7daf69',
    500: '#408d29',
    950: '#000000',
  },
}
SCSS
$custom: #408d29;
$custom-light: #7daf69;
$custom-dark: #000000;
JSON
{
  "hex": "#408d29",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 106.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.15476,
    "h": 139.4
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#408D29
secondary
#A15BB6
accent
#4ADEBC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408D29

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

Preview Lab → · Contrast checker → · Palette generator →

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