#408C2B#408C2B

#408C2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.152 H 139.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#408C2B
RGBrgb(64, 140, 43)
HSLhsl(107, 53%, 36%)
HSVhsv(107, 69%, 55%)
CMYKcmyk(54.3%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.86, -42.17, 42.97)
CIE-LCHlch(51.86, 60.21, 134.46°)
OKLaboklab(57.09% -0.1158 0.0985)
OKLCHoklch(57.09% 0.152 139.6)
XYZxyz(11.9280, 20.0196, 5.5207)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C2B #772B8C
analogous
#708C2B #408C2B #2B8C46
triadic
#408C2B #2B408C #8C2B40
tetradic
#408C2B #2B708C #772B8C #8C462B
square
#408C2B #2B708C #772B8C #8C462B
split-complementary
#408C2B #462B8C #8C2B70
monochromatic
#152E0E #2B5D1D #408C2B #55BB39 #7ACF62

Accessibility & contrast

On white

4.20
#408C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#408C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C2B#FFFFFF#000000##000000
##408C2B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#388778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c2b;
/* rgb */ color: rgb(64, 140, 43);
/* oklch */ color: oklch(57.1% 0.152 139.6);
Tailwind
colors: {
  custom: {
    50: '#7dae6a',
    500: '#408c2b',
    950: '#000000',
  },
}
SCSS
$custom: #408c2b;
$custom-light: #7dae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#408c2b",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 107.01,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.15205,
    "h": 139.6
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#408C2B
secondary
#A25EB5
accent
#4BDCBD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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