#408D2A#408D2A

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

Color values

HEX#408D2A
RGBrgb(64, 141, 42)
HSLhsl(107, 54%, 36%)
HSVhsv(107, 70%, 55%)
CMYKcmyk(54.6%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.18, -42.66, 43.74)
CIE-LCHlch(52.18, 61.10, 134.28°)
OKLaboklab(57.36% -0.1172 0.1)
OKLCHoklch(57.36% 0.154 139.5)
XYZxyz(12.0567, 20.3060, 5.4741)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D2A #772A8D
analogous
#718D2A #408D2A #2A8D46
triadic
#408D2A #2A408D #8D2A40
tetradic
#408D2A #2A718D #772A8D #8D462A
square
#408D2A #2A718D #772A8D #8D462A
split-complementary
#408D2A #462A8D #8D2A71
monochromatic
#152F0E #2B5E1C #408D2A #55BC38 #7AD061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408D2A#FFFFFF#000000##000000
##408D2A1.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)
#91801C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d2a;
/* rgb */ color: rgb(64, 141, 42);
/* oklch */ color: oklch(57.4% 0.154 139.5);
Tailwind
colors: {
  custom: {
    50: '#7daf69',
    500: '#408d2a',
    950: '#000000',
  },
}
SCSS
$custom: #408d2a;
$custom-light: #7daf69;
$custom-dark: #000000;
JSON
{
  "hex": "#408d2a",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 106.667,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.15407,
    "h": 139.5
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#408D2A
secondary
#A25DB6
accent
#4ADDBD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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