#408E2E#408E2E

#408E2E is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.152 H 140.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#408E2E
RGBrgb(64, 142, 46)
HSLhsl(109, 51%, 37%)
HSVhsv(109, 68%, 56%)
CMYKcmyk(54.9%, 0%, 67.6%, 44.3%)
CIE-LABlab(52.54, -42.68, 42.41)
CIE-LCHlch(52.54, 60.17, 135.18°)
OKLaboklab(57.67% -0.117 0.0977)
OKLCHoklch(57.67% 0.152 140.1)
XYZxyz(12.2800, 20.6323, 5.9196)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E2E #7C2E8E
analogous
#708E2E #408E2E #2E8E4C
triadic
#408E2E #2E408E #8E2E40
tetradic
#408E2E #2E708E #7C2E8E #8E4C2E
square
#408E2E #2E708E #7C2E8E #8E4C2E
split-complementary
#408E2E #4C2E8E #8E2E70
monochromatic
#163210 #2B601F #408E2E #55BC3D #7BCE68

Accessibility & contrast

On white

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

On black

5.13
#408E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E2E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E2E#FFFFFF#000000##000000
##408E2E1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e2e;
/* rgb */ color: rgb(64, 142, 46);
/* oklch */ color: oklch(57.7% 0.152 140.1);
Tailwind
colors: {
  custom: {
    50: '#7db06b',
    500: '#408e2e',
    950: '#000000',
  },
}
SCSS
$custom: #408e2e;
$custom-light: #7db06b;
$custom-dark: #000000;
JSON
{
  "hex": "#408e2e",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 108.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.15244,
    "h": 140.1
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#408E2E
secondary
#A663B5
accent
#4DDBC0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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