#408A29#408A29

#408A29 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.151 H 139.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#408A29
RGBrgb(64, 138, 41)
HSLhsl(106, 54%, 35%)
HSVhsv(106, 70%, 54%)
CMYKcmyk(53.6%, 0%, 70.3%, 45.9%)
CIE-LABlab(51.18, -41.55, 43.10)
CIE-LCHlch(51.18, 59.87, 133.95°)
OKLaboklab(56.53% -0.1143 0.0985)
OKLCHoklch(56.53% 0.151 139.2)
XYZxyz(11.6026, 19.4261, 5.2356)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A29 #73298A
analogous
#718A29 #408A29 #298A42
triadic
#408A29 #29408A #8A2940
tetradic
#408A29 #29718A #73298A #8A4229
square
#408A29 #29718A #73298A #8A4229
split-complementary
#408A29 #42298A #8A2971
monochromatic
#142C0D #2A5B1B #408A29 #56B937 #79CF5E

Accessibility & contrast

On white

4.30
#408A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#408A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A29
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A29#FFFFFF#000000##000000
##408A291.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#847832
Tritanopia (blue-blind)
#398576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a29;
/* rgb */ color: rgb(64, 138, 41);
/* oklch */ color: oklch(56.5% 0.151 139.2);
Tailwind
colors: {
  custom: {
    50: '#7cad68',
    500: '#408a29',
    950: '#000000',
  },
}
SCSS
$custom: #408a29;
$custom-light: #7cad68;
$custom-dark: #000000;
JSON
{
  "hex": "#408a29",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 105.773,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.15088,
    "h": 139.2
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#408A29
secondary
#9F5AB5
accent
#4ADEBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408A29

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

Preview Lab → · Contrast checker → · Palette generator →

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