#408C24#408C24

#408C24 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.157 H 138.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#408C24
RGBrgb(64, 140, 36)
HSLhsl(104, 59%, 35%)
HSVhsv(104, 74%, 55%)
CMYKcmyk(54.3%, 0%, 74.3%, 45.1%)
CIE-LABlab(51.81, -42.76, 45.76)
CIE-LCHlch(51.81, 62.63, 133.06°)
OKLaboklab(57.03% -0.1179 0.1034)
OKLCHoklch(57.03% 0.157 138.7)
XYZxyz(11.8104, 19.9726, 4.9015)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C24 #70248C
analogous
#748C24 #408C24 #248C3C
triadic
#408C24 #24408C #8C2440
tetradic
#408C24 #24748C #70248C #8C3C24
square
#408C24 #24748C #70248C #8C3C24
split-complementary
#408C24 #3C248C #8C2474
monochromatic
#132B0B #2A5B17 #408C24 #56BD31 #78D457

Accessibility & contrast

On white

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

On black

4.99
#408C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C24#FFFFFF#000000##000000
##408C241.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#398778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408c24;
/* rgb */ color: rgb(64, 140, 36);
/* oklch */ color: oklch(57.0% 0.157 138.7);
Tailwind
colors: {
  custom: {
    50: '#7dae66',
    500: '#408c24',
    950: '#000000',
  },
}
SCSS
$custom: #408c24;
$custom-light: #7dae66;
$custom-dark: #000000;
JSON
{
  "hex": "#408c24",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 103.846,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.1568,
    "h": 138.7
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#408C24
secondary
#9D54B8
accent
#46E2B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C24

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

Preview Lab → · Contrast checker → · Palette generator →

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