#408728#408728

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

Color values

HEX#408728
RGBrgb(64, 135, 40)
HSLhsl(105, 54%, 34%)
HSVhsv(105, 70%, 53%)
CMYKcmyk(52.6%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.18, -40.42, 42.47)
CIE-LCHlch(50.18, 58.63, 133.58°)
OKLaboklab(55.7% -0.1113 0.0971)
OKLCHoklch(55.7% 0.148 138.9)
XYZxyz(11.1609, 18.5703, 5.0034)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408728 #6F2887
analogous
#708728 #408728 #288740
triadic
#408728 #284087 #872840
tetradic
#408728 #287087 #6F2887 #874028
square
#408728 #287087 #6F2887 #874028
split-complementary
#408728 #402887 #872870
monochromatic
#13290C #2A581A #408728 #56B636 #78CE5B

Accessibility & contrast

On white

4.45
#408728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408728#FFFFFF#000000##000000
##4087281.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408728;
/* rgb */ color: rgb(64, 135, 40);
/* oklch */ color: oklch(55.7% 0.148 138.9);
Tailwind
colors: {
  custom: {
    50: '#7cab67',
    500: '#408728',
    950: '#000000',
  },
}
SCSS
$custom: #408728;
$custom-light: #7cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#408728",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 104.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.14765,
    "h": 138.9
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#408728
secondary
#9C57B4
accent
#4ADEB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408728

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

Preview Lab → · Contrast checker → · Palette generator →

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