#408E24#408E24

#408E24 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.159 H 138.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#408E24
RGBrgb(64, 142, 36)
HSLhsl(104, 60%, 35%)
HSVhsv(104, 75%, 56%)
CMYKcmyk(54.9%, 0%, 74.6%, 44.3%)
CIE-LABlab(52.47, -43.55, 46.43)
CIE-LCHlch(52.47, 63.66, 133.17°)
OKLaboklab(57.58% -0.12 0.1048)
OKLCHoklch(57.58% 0.159 138.9)
XYZxyz(12.1053, 20.5624, 4.9998)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E24 #72248E
analogous
#758E24 #408E24 #248E3D
triadic
#408E24 #24408E #8E2440
tetradic
#408E24 #24758E #72248E #8E3D24
square
#408E24 #24758E #72248E #8E3D24
split-complementary
#408E24 #3D248E #8E2475
monochromatic
#142C0B #2A5D18 #408E24 #56BF30 #79D558

Accessibility & contrast

On white

4.11
#408E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#408E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E24
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E24#FFFFFF#000000##000000
##408E241.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e24;
/* rgb */ color: rgb(64, 142, 36);
/* oklch */ color: oklch(57.6% 0.159 138.9);
Tailwind
colors: {
  custom: {
    50: '#7db066',
    500: '#408e24',
    950: '#000000',
  },
}
SCSS
$custom: #408e24;
$custom-light: #7db066;
$custom-dark: #000000;
JSON
{
  "hex": "#408e24",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 104.151,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.15933,
    "h": 138.9
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#408E24
secondary
#9F55B9
accent
#45E3B9
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408E24

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

Preview Lab → · Contrast checker → · Palette generator →

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