#408B24#408B24

#408B24 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.156 H 138.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#408B24
RGBrgb(64, 139, 36)
HSLhsl(104, 59%, 34%)
HSVhsv(104, 74%, 55%)
CMYKcmyk(54%, 0%, 74.1%, 45.5%)
CIE-LABlab(51.48, -42.37, 45.43)
CIE-LCHlch(51.48, 62.12, 133.00°)
OKLaboklab(56.76% -0.1168 0.1027)
OKLCHoklch(56.76% 0.156 138.7)
XYZxyz(11.6650, 19.6817, 4.8530)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B24 #6F248B
analogous
#748B24 #408B24 #248B3B
triadic
#408B24 #24408B #8B2440
tetradic
#408B24 #24748B #6F248B #8B3B24
square
#408B24 #24748B #6F248B #8B3B24
split-complementary
#408B24 #3B248B #8B2474
monochromatic
#132A0B #2A5A17 #408B24 #56BC31 #78D356

Accessibility & contrast

On white

4.25
#408B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#408B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B24
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B24#FFFFFF#000000##000000
##408B241.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F12
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b24;
/* rgb */ color: rgb(64, 139, 36);
/* oklch */ color: oklch(56.8% 0.156 138.7);
Tailwind
colors: {
  custom: {
    50: '#7dad66',
    500: '#408b24',
    950: '#000000',
  },
}
SCSS
$custom: #408b24;
$custom-light: #7dad66;
$custom-dark: #000000;
JSON
{
  "hex": "#408b24",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 103.689,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.15554,
    "h": 138.7
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408B24

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

Preview Lab → · Contrast checker → · Palette generator →

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