#408737#408737

#408737 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.9% C 0.135 H 141.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#408737
RGBrgb(64, 135, 55)
HSLhsl(113, 42%, 37%)
HSVhsv(113, 59%, 53%)
CMYKcmyk(52.6%, 0%, 59.3%, 47.1%)
CIE-LABlab(50.33, -38.82, 35.72)
CIE-LCHlch(50.33, 52.76, 137.38°)
OKLaboklab(55.87% -0.106 0.0844)
OKLCHoklch(55.87% 0.135 141.5)
XYZxyz(11.4674, 18.6929, 6.6175)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408737 #7E3787
analogous
#688737 #408737 #378756
triadic
#408737 #374087 #873740
tetradic
#408737 #376887 #7E3787 #875637
square
#408737 #376887 #7E3787 #875637
split-complementary
#408737 #563787 #873768
monochromatic
#173014 #2B5C25 #408737 #55B249 #7CC673

Accessibility & contrast

On white

4.43
#408737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#408737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408737
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408737#FFFFFF#000000##000000
##4087371.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2F
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#388375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408737;
/* rgb */ color: rgb(64, 135, 55);
/* oklch */ color: oklch(55.9% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#7baa70',
    500: '#408737',
    950: '#000000',
  },
}
SCSS
$custom: #408737;
$custom-light: #7baa70;
$custom-dark: #000000;
JSON
{
  "hex": "#408737",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 113.25,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.13546,
    "h": 141.5
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408737

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

Preview Lab → · Contrast checker → · Palette generator →

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