#408D33#408D33

#408D33 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.147 H 140.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#408D33
RGBrgb(64, 141, 51)
HSLhsl(111, 47%, 38%)
HSVhsv(111, 64%, 55%)
CMYKcmyk(54.6%, 0%, 63.8%, 44.7%)
CIE-LABlab(52.26, -41.76, 39.85)
CIE-LCHlch(52.26, 57.73, 136.34°)
OKLaboklab(57.45% -0.1142 0.0928)
OKLCHoklch(57.45% 0.147 140.9)
XYZxyz(12.2362, 20.3778, 6.4198)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D33 #80338D
analogous
#6D8D33 #408D33 #338D53
triadic
#408D33 #33408D #8D3340
tetradic
#408D33 #336D8D #80338D #8D5333
square
#408D33 #336D8D #80338D #8D5333
split-complementary
#408D33 #53338D #8D336D
monochromatic
#173312 #2C6023 #408D33 #54BA43 #7DCB6F

Accessibility & contrast

On white

4.14
#408D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#408D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D33
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D33#FFFFFF#000000##000000
##408D331.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918129
Deuteranopia (green-blind)
#877A3A
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408d33;
/* rgb */ color: rgb(64, 141, 51);
/* oklch */ color: oklch(57.4% 0.147 140.9);
Tailwind
colors: {
  custom: {
    50: '#7caf6e',
    500: '#408d33',
    950: '#000000',
  },
}
SCSS
$custom: #408d33;
$custom-light: #7caf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#408d33",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 111.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.14718,
    "h": 140.9
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#408D33
secondary
#A869B3
accent
#51D7C3
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408D33

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

Preview Lab → · Contrast checker → · Palette generator →

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