#408C32#408C32

#408C32 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.2% C 0.147 H 140.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#408C32
RGBrgb(64, 140, 50)
HSLhsl(111, 47%, 37%)
HSVhsv(111, 64%, 55%)
CMYKcmyk(54.3%, 0%, 64.3%, 45.1%)
CIE-LABlab(51.92, -41.47, 39.93)
CIE-LCHlch(51.92, 57.57, 136.08°)
OKLaboklab(57.17% -0.1135 0.0929)
OKLCHoklch(57.17% 0.147 140.7)
XYZxyz(12.0676, 20.0755, 6.2560)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C32 #7E328C
analogous
#6D8C32 #408C32 #328C51
triadic
#408C32 #32408C #8C3240
tetradic
#408C32 #326D8C #7E328C #8C5132
square
#408C32 #326D8C #7E328C #8C5132
split-complementary
#408C32 #51328C #8C326D
monochromatic
#173212 #2B5F22 #408C32 #55B942 #7CCB6D

Accessibility & contrast

On white

4.19
#408C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#408C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C32
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C32#FFFFFF#000000##000000
##408C321.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#378879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c32;
/* rgb */ color: rgb(64, 140, 50);
/* oklch */ color: oklch(57.2% 0.147 140.7);
Tailwind
colors: {
  custom: {
    50: '#7cae6e',
    500: '#408c32',
    950: '#000000',
  },
}
SCSS
$custom: #408c32;
$custom-light: #7cae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#408c32",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 110.667,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.14665,
    "h": 140.7
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#408C32
secondary
#A767B3
accent
#51D7C2
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408C32

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

Preview Lab → · Contrast checker → · Palette generator →

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