#408720#408720

#408720 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.153 H 137.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#408720
RGBrgb(64, 135, 32)
HSLhsl(101, 62%, 33%)
HSVhsv(101, 76%, 53%)
CMYKcmyk(52.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.12, -41.06, 45.58)
CIE-LCHlch(50.12, 61.35, 132.01°)
OKLaboklab(55.64% -0.1136 0.1024)
OKLCHoklch(55.64% 0.153 137.9)
XYZxyz(11.0387, 18.5214, 4.3595)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408720 #672087
analogous
#748720 #408720 #208733
triadic
#408720 #204087 #872040
tetradic
#408720 #207487 #672087 #873320
square
#408720 #207487 #672087 #873320
split-complementary
#408720 #332087 #872074
monochromatic
#112409 #295614 #408720 #57B82C #77D54D

Accessibility & contrast

On white

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

On black

4.70
#408720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408720
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408720#FFFFFF#000000##000000
##4087201.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#3B8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #408720;
/* rgb */ color: rgb(64, 135, 32);
/* oklch */ color: oklch(55.6% 0.153 137.9);
Tailwind
colors: {
  custom: {
    50: '#7cab63',
    500: '#408720',
    950: '#000000',
  },
}
SCSS
$custom: #408720;
$custom-light: #7cab63;
$custom-dark: #000000;
JSON
{
  "hex": "#408720",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 101.359,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.15294,
    "h": 137.9
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#408720
secondary
#964BB8
accent
#43E5B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408720

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

Preview Lab → · Contrast checker → · Palette generator →

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