#408741#408741

#408741 is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.0% C 0.126 H 143.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#408741
RGBrgb(64, 135, 65)
HSLhsl(121, 36%, 39%)
HSVhsv(121, 53%, 53%)
CMYKcmyk(52.6%, 0%, 51.9%, 47.1%)
CIE-LABlab(50.45, -37.48, 30.77)
CIE-LCHlch(50.45, 48.49, 140.61°)
OKLaboklab(56.01% -0.1019 0.0742)
OKLCHoklch(56.01% 0.126 143.9)
XYZxyz(11.7318, 18.7987, 8.0103)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408741 #874086
analogous
#638740 #408741 #408765
triadic
#408741 #414087 #874140
tetradic
#408741 #406387 #874086 #876540
square
#408741 #406387 #874086 #876540
split-complementary
#408741 #654087 #874063
monochromatic
#193419 #2C5D2D #408741 #56AF57 #7FC280

Accessibility & contrast

On white

4.41
#408741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#408741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408741
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408741#FFFFFF#000000##000000
##4087411.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#368477
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408741;
/* rgb */ color: rgb(64, 135, 65);
/* oklch */ color: oklch(56.0% 0.126 143.9);
Tailwind
colors: {
  custom: {
    50: '#7baa77',
    500: '#408741',
    950: '#000000',
  },
}
SCSS
$custom: #408741;
$custom-light: #7baa77;
$custom-dark: #000000;
JSON
{
  "hex": "#408741",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 120.845,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.12605,
    "h": 143.9
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#408741
secondary
#AD76AC
accent
#5CCACC
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #408741

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

Preview Lab → · Contrast checker → · Palette generator →

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