#408F33#408F33

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

Color values

HEX#408F33
RGBrgb(64, 143, 51)
HSLhsl(112, 47%, 38%)
HSVhsv(112, 64%, 56%)
CMYKcmyk(55.2%, 0%, 64.3%, 43.9%)
CIE-LABlab(52.92, -42.57, 40.59)
CIE-LCHlch(52.92, 58.82, 136.37°)
OKLaboklab(57.99% -0.1164 0.0944)
OKLCHoklch(57.99% 0.15 141)
XYZxyz(12.5338, 20.9729, 6.5190)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F33 #82338F
analogous
#6E8F33 #408F33 #338F54
triadic
#408F33 #33408F #8F3340
tetradic
#408F33 #336E8F #82338F #8F5433
square
#408F33 #336E8F #82338F #8F5433
split-complementary
#408F33 #54338F #8F336E
monochromatic
#183513 #2C6223 #408F33 #54BC43 #7DCC70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408F33#FFFFFF#000000##000000
##408F331.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)
#938328
Deuteranopia (green-blind)
#887C3B
Tritanopia (blue-blind)
#368B7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f33;
/* rgb */ color: rgb(64, 143, 51);
/* oklch */ color: oklch(58.0% 0.150 141.0);
Tailwind
colors: {
  custom: {
    50: '#7db06f',
    500: '#408f33',
    950: '#000000',
  },
}
SCSS
$custom: #408f33;
$custom-light: #7db06f;
$custom-dark: #000000;
JSON
{
  "hex": "#408f33",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 111.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.14987,
    "h": 141
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#408F33
secondary
#AA6AB4
accent
#51D7C4
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #408F33

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

Preview Lab → · Contrast checker → · Palette generator →

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