#408D28#408D28

#408D28 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.155 H 139.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#408D28
RGBrgb(64, 141, 40)
HSLhsl(106, 56%, 35%)
HSVhsv(106, 72%, 55%)
CMYKcmyk(54.6%, 0%, 71.6%, 44.7%)
CIE-LABlab(52.17, -42.83, 44.55)
CIE-LCHlch(52.17, 61.80, 133.88°)
OKLaboklab(57.34% -0.1178 0.1014)
OKLCHoklch(57.34% 0.155 139.3)
XYZxyz(12.0218, 20.2920, 5.2903)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D28 #75288D
analogous
#728D28 #408D28 #288D43
triadic
#408D28 #28408D #8D2840
tetradic
#408D28 #28728D #75288D #8D4328
square
#408D28 #28728D #75288D #8D4328
split-complementary
#408D28 #43288D #8D2872
monochromatic
#152E0D #2A5D1A #408D28 #56BD36 #79D15E

Accessibility & contrast

On white

4.15
#408D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#408D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D28
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D28#FFFFFF#000000##000000
##408D281.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d28;
/* rgb */ color: rgb(64, 141, 40);
/* oklch */ color: oklch(57.3% 0.155 139.3);
Tailwind
colors: {
  custom: {
    50: '#7daf68',
    500: '#408d28',
    950: '#000000',
  },
}
SCSS
$custom: #408d28;
$custom-light: #7daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#408d28",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 105.743,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.15545,
    "h": 139.3
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#408D28
secondary
#A15AB7
accent
#49DFBB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408D28

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

Preview Lab → · Contrast checker → · Palette generator →

#408D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva