#408136#408136

#408136 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.128 H 141.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#408136
RGBrgb(64, 129, 54)
HSLhsl(112, 41%, 36%)
HSVhsv(112, 58%, 51%)
CMYKcmyk(50.4%, 0%, 58.1%, 49.4%)
CIE-LABlab(48.33, -36.39, 33.88)
CIE-LCHlch(48.33, 49.72, 137.04°)
OKLaboklab(54.23% -0.0994 0.0803)
OKLCHoklch(54.23% 0.128 141.1)
XYZxyz(10.6300, 17.0561, 6.2213)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408136 #773681
analogous
#658136 #408136 #368151
triadic
#408136 #364081 #813640
tetradic
#408136 #366581 #773681 #815136
square
#408136 #366581 #773681 #815136
split-complementary
#408136 #513681 #813665
monochromatic
#152B12 #2B5624 #408136 #55AC48 #7AC36F

Accessibility & contrast

On white

4.76
#408136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#408136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408136
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408136#FFFFFF#000000##FFFFFF
##4081361.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#7B713C
Tritanopia (blue-blind)
#397D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408136;
/* rgb */ color: rgb(64, 129, 54);
/* oklch */ color: oklch(54.2% 0.128 141.1);
Tailwind
colors: {
  custom: {
    50: '#7aa66f',
    500: '#408136',
    950: '#000000',
  },
}
SCSS
$custom: #408136;
$custom-light: #7aa66f;
$custom-dark: #000000;
JSON
{
  "hex": "#408136",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 112,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.12781,
    "h": 141.1
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#408136
secondary
#A268AB
accent
#57D1C1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408136

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

Preview Lab → · Contrast checker → · Palette generator →

#408136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva