#408727#408727

#408727 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.148 H 138.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#408727
RGBrgb(64, 135, 39)
HSLhsl(104, 55%, 34%)
HSVhsv(104, 71%, 53%)
CMYKcmyk(52.6%, 0%, 71.1%, 47.1%)
CIE-LABlab(50.17, -40.51, 42.88)
CIE-LCHlch(50.17, 58.99, 133.37°)
OKLaboklab(55.69% -0.1116 0.0978)
OKLCHoklch(55.69% 0.148 138.8)
XYZxyz(11.1441, 18.5636, 4.9150)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408727 #6E2787
analogous
#708727 #408727 #27873E
triadic
#408727 #274087 #872740
tetradic
#408727 #277087 #6E2787 #873E27
square
#408727 #277087 #6E2787 #873E27
split-complementary
#408727 #3E2787 #872770
monochromatic
#13280C #295819 #408727 #57B635 #78CF59

Accessibility & contrast

On white

4.46
#408727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#408727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408727
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408727#FFFFFF#000000##000000
##4087271.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#3A8274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #408727;
/* rgb */ color: rgb(64, 135, 39);
/* oklch */ color: oklch(55.7% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#7cab67',
    500: '#408727',
    950: '#000000',
  },
}
SCSS
$custom: #408727;
$custom-light: #7cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#408727",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 104.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.14837,
    "h": 138.8
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#408727
secondary
#9B56B4
accent
#49DFB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408727

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

Preview Lab → · Contrast checker → · Palette generator →

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