#408B29#408B29

#408B29 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.152 H 139.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#408B29
RGBrgb(64, 139, 41)
HSLhsl(106, 54%, 35%)
HSVhsv(106, 71%, 55%)
CMYKcmyk(54%, 0%, 70.5%, 45.5%)
CIE-LABlab(51.51, -41.95, 43.45)
CIE-LCHlch(51.51, 60.40, 133.99°)
OKLaboklab(56.8% -0.1154 0.0993)
OKLCHoklch(56.8% 0.152 139.3)
XYZxyz(11.7467, 19.7144, 5.2837)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B29 #74298B
analogous
#718B29 #408B29 #298B43
triadic
#408B29 #29408B #8B2940
tetradic
#408B29 #29718B #74298B #8B4329
square
#408B29 #29718B #74298B #8B4329
split-complementary
#408B29 #43298B #8B2971
monochromatic
#142C0D #2A5C1B #408B29 #56BA37 #79D05F

Accessibility & contrast

On white

4.25
#408B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#408B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B29
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B29#FFFFFF#000000##000000
##408B291.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b29;
/* rgb */ color: rgb(64, 139, 41);
/* oklch */ color: oklch(56.8% 0.152 139.3);
Tailwind
colors: {
  custom: {
    50: '#7dad68',
    500: '#408b29',
    950: '#000000',
  },
}
SCSS
$custom: #408b29;
$custom-light: #7dad68;
$custom-dark: #000000;
JSON
{
  "hex": "#408b29",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 105.918,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.15218,
    "h": 139.3
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#408B29
secondary
#A05BB5
accent
#4ADEBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408B29

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

Preview Lab → · Contrast checker → · Palette generator →

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