#408F32#408F32

#408F32 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.151 H 140.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#408F32
RGBrgb(64, 143, 50)
HSLhsl(111, 48%, 38%)
HSVhsv(111, 65%, 56%)
CMYKcmyk(55.2%, 0%, 65%, 43.9%)
CIE-LABlab(52.91, -42.68, 41.03)
CIE-LCHlch(52.91, 59.20, 136.13°)
OKLaboklab(57.98% -0.1167 0.0952)
OKLCHoklch(57.98% 0.151 140.8)
XYZxyz(12.5120, 20.9642, 6.4042)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F32 #81328F
analogous
#6E8F32 #408F32 #328F52
triadic
#408F32 #32408F #8F3240
tetradic
#408F32 #326E8F #81328F #8F5232
square
#408F32 #326E8F #81328F #8F5232
split-complementary
#408F32 #52328F #8F326E
monochromatic
#173412 #2C6222 #408F32 #54BC42 #7DCD6F

Accessibility & contrast

On white

4.04
#408F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#408F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F32
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F32#FFFFFF#000000##000000
##408F321.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938227
Deuteranopia (green-blind)
#887C3A
Tritanopia (blue-blind)
#378B7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f32;
/* rgb */ color: rgb(64, 143, 50);
/* oklch */ color: oklch(58.0% 0.151 140.8);
Tailwind
colors: {
  custom: {
    50: '#7db06e',
    500: '#408f32',
    950: '#000000',
  },
}
SCSS
$custom: #408f32;
$custom-light: #7db06e;
$custom-dark: #000000;
JSON
{
  "hex": "#408f32",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 110.968,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.15067,
    "h": 140.8
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#408F32
secondary
#A968B4
accent
#50D8C3
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #408F32

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

Preview Lab → · Contrast checker → · Palette generator →

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