#408E2B#408E2B

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

Color values

HEX#408E2B
RGBrgb(64, 142, 43)
HSLhsl(107, 54%, 36%)
HSVhsv(107, 70%, 56%)
CMYKcmyk(54.9%, 0%, 69.7%, 44.3%)
CIE-LABlab(52.52, -42.97, 43.68)
CIE-LCHlch(52.52, 61.27, 134.53°)
OKLaboklab(57.64% -0.118 0.1)
OKLCHoklch(57.64% 0.155 139.7)
XYZxyz(12.2229, 20.6094, 5.6190)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E2B #792B8E
analogous
#728E2B #408E2B #2B8E48
triadic
#408E2B #2B408E #8E2B40
tetradic
#408E2B #2B728E #792B8E #8E482B
square
#408E2B #2B728E #792B8E #8E482B
split-complementary
#408E2B #482B8E #8E2B72
monochromatic
#16300F #2B5F1D #408E2B #55BD39 #7AD063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408E2B#FFFFFF#000000##000000
##408E2B1.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)
#92811D
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#38897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e2b;
/* rgb */ color: rgb(64, 142, 43);
/* oklch */ color: oklch(57.6% 0.155 139.7);
Tailwind
colors: {
  custom: {
    50: '#7db06a',
    500: '#408e2b',
    950: '#000000',
  },
}
SCSS
$custom: #408e2b;
$custom-light: #7db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#408e2b",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 107.273,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.15465,
    "h": 139.7
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#408E2B
secondary
#A45FB6
accent
#4BDDBE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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