#408C25#408C25

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

Color values

HEX#408C25
RGBrgb(64, 140, 37)
HSLhsl(104, 58%, 35%)
HSVhsv(104, 74%, 55%)
CMYKcmyk(54.3%, 0%, 73.6%, 45.1%)
CIE-LABlab(51.81, -42.68, 45.38)
CIE-LCHlch(51.81, 62.30, 133.25°)
OKLaboklab(57.04% -0.1176 0.1027)
OKLCHoklch(57.04% 0.156 138.9)
XYZxyz(11.8259, 19.9788, 4.9830)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C25 #71258C
analogous
#748C25 #408C25 #258C3E
triadic
#408C25 #25408C #8C2540
tetradic
#408C25 #25748C #71258C #8C3E25
square
#408C25 #25748C #71258C #8C3E25
split-complementary
#408C25 #3E258C #8C2574
monochromatic
#142B0B #2A5C18 #408C25 #56BC32 #79D358

Accessibility & contrast

On white

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

On black

5.00
#408C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C25
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C25#FFFFFF#000000##000000
##408C251.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#398778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408c25;
/* rgb */ color: rgb(64, 140, 37);
/* oklch */ color: oklch(57.0% 0.156 138.9);
Tailwind
colors: {
  custom: {
    50: '#7dae66',
    500: '#408c25',
    950: '#000000',
  },
}
SCSS
$custom: #408c25;
$custom-light: #7dae66;
$custom-dark: #000000;
JSON
{
  "hex": "#408c25",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 104.272,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.15617,
    "h": 138.9
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#408C25
secondary
#9E55B8
accent
#46E1B9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408C25

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

Preview Lab → · Contrast checker → · Palette generator →

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