#408E2C#408E2C

#408E2C is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.154 H 139.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#408E2C
RGBrgb(64, 142, 44)
HSLhsl(108, 53%, 36%)
HSVhsv(108, 69%, 56%)
CMYKcmyk(54.9%, 0%, 69%, 44.3%)
CIE-LABlab(52.53, -42.87, 43.26)
CIE-LCHlch(52.53, 60.91, 134.74°)
OKLaboklab(57.65% -0.1177 0.0992)
OKLCHoklch(57.65% 0.154 139.9)
XYZxyz(12.2415, 20.6169, 5.7168)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E2C #7A2C8E
analogous
#718E2C #408E2C #2C8E49
triadic
#408E2C #2C408E #8E2C40
tetradic
#408E2C #2C718E #7A2C8E #8E492C
square
#408E2C #2C718E #7A2C8E #8E492C
split-complementary
#408E2C #492C8E #8E2C71
monochromatic
#16310F #2B5F1E #408E2C #55BD3A #7BCF65

Accessibility & contrast

On white

4.10
#408E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#408E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E2C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E2C#FFFFFF#000000##000000
##408E2C1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e2c;
/* rgb */ color: rgb(64, 142, 44);
/* oklch */ color: oklch(57.6% 0.154 139.9);
Tailwind
colors: {
  custom: {
    50: '#7db06a',
    500: '#408e2c',
    950: '#000000',
  },
}
SCSS
$custom: #408e2c;
$custom-light: #7db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#408e2c",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 107.755,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.15392,
    "h": 139.9
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#408E2C
secondary
#A460B6
accent
#4CDCBF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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