#408A24#408A24

#408A24 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.154 H 138.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#408A24
RGBrgb(64, 138, 36)
HSLhsl(104, 59%, 34%)
HSVhsv(104, 74%, 54%)
CMYKcmyk(53.6%, 0%, 73.9%, 45.9%)
CIE-LABlab(51.14, -41.97, 45.09)
CIE-LCHlch(51.14, 61.60, 132.95°)
OKLaboklab(56.49% -0.1157 0.102)
OKLCHoklch(56.49% 0.154 138.6)
XYZxyz(11.5208, 19.3934, 4.8049)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A24 #6E248A
analogous
#738A24 #408A24 #248A3B
triadic
#408A24 #24408A #8A2440
tetradic
#408A24 #24738A #6E248A #8A3B24
square
#408A24 #24738A #6E248A #8A3B24
split-complementary
#408A24 #3B248A #8A2473
monochromatic
#13290B #295917 #408A24 #57BB31 #78D356

Accessibility & contrast

On white

4.30
#408A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#408A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A24
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A24#FFFFFF#000000##000000
##408A241.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#3A8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a24;
/* rgb */ color: rgb(64, 138, 36);
/* oklch */ color: oklch(56.5% 0.154 138.6);
Tailwind
colors: {
  custom: {
    50: '#7dad66',
    500: '#408a24',
    950: '#000000',
  },
}
SCSS
$custom: #408a24;
$custom-light: #7dad66;
$custom-dark: #000000;
JSON
{
  "hex": "#408a24",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 103.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.15427,
    "h": 138.6
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#408A24
secondary
#9B53B7
accent
#46E2B7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408A24

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

Preview Lab → · Contrast checker → · Palette generator →

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