#408F24#408F24

#408F24 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.161 H 138.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#408F24
RGBrgb(64, 143, 36)
HSLhsl(104, 60%, 35%)
HSVhsv(104, 75%, 56%)
CMYKcmyk(55.2%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.80, -43.94, 46.76)
CIE-LCHlch(52.80, 64.17, 133.22°)
OKLaboklab(57.85% -0.1211 0.1055)
OKLCHoklch(57.85% 0.161 138.9)
XYZxyz(12.2548, 20.8613, 5.0496)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F24 #73248F
analogous
#768F24 #408F24 #248F3D
triadic
#408F24 #24408F #8F2440
tetradic
#408F24 #24768F #73248F #8F3D24
square
#408F24 #24768F #73248F #8F3D24
split-complementary
#408F24 #3D248F #8F2476
monochromatic
#142D0B #2A5E18 #408F24 #56C030 #79D558

Accessibility & contrast

On white

4.06
#408F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#408F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F24
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F24#FFFFFF#000000##000000
##408F241.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#388A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f24;
/* rgb */ color: rgb(64, 143, 36);
/* oklch */ color: oklch(57.9% 0.161 138.9);
Tailwind
colors: {
  custom: {
    50: '#7db066',
    500: '#408f24',
    950: '#000000',
  },
}
SCSS
$custom: #408f24;
$custom-light: #7db066;
$custom-dark: #000000;
JSON
{
  "hex": "#408f24",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 104.299,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.16058,
    "h": 138.9
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#408F24
secondary
#9F55B9
accent
#45E3BA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #408F24

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

Preview Lab → · Contrast checker → · Palette generator →

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