#408837#408837

#408837 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.137 H 141.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#408837
RGBrgb(64, 136, 55)
HSLhsl(113, 42%, 37%)
HSVhsv(113, 60%, 53%)
CMYKcmyk(52.9%, 0%, 59.6%, 46.7%)
CIE-LABlab(50.66, -39.24, 36.11)
CIE-LCHlch(50.66, 53.32, 137.38°)
OKLaboklab(56.14% -0.1071 0.0852)
OKLCHoklch(56.14% 0.137 141.5)
XYZxyz(11.6076, 18.9732, 6.6642)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408837 #7F3788
analogous
#698837 #408837 #378856
triadic
#408837 #374088 #883740
tetradic
#408837 #376988 #7F3788 #885637
square
#408837 #376988 #7F3788 #885637
split-complementary
#408837 #563788 #883769
monochromatic
#173114 #2B5C25 #408837 #55B449 #7CC673

Accessibility & contrast

On white

4.38
#408837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#408837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408837
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408837#FFFFFF#000000##000000
##4088371.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2F
Deuteranopia (green-blind)
#82763D
Tritanopia (blue-blind)
#378476
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408837;
/* rgb */ color: rgb(64, 136, 55);
/* oklch */ color: oklch(56.1% 0.137 141.5);
Tailwind
colors: {
  custom: {
    50: '#7bab70',
    500: '#408837',
    950: '#000000',
  },
}
SCSS
$custom: #408837;
$custom-light: #7bab70;
$custom-dark: #000000;
JSON
{
  "hex": "#408837",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 113.333,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.13687,
    "h": 141.5
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#408837
secondary
#A86CAF
accent
#56D2C4
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #408837

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

Preview Lab → · Contrast checker → · Palette generator →

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