#408D25#408D25

#408D25 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.157 H 138.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#408D25
RGBrgb(64, 141, 37)
HSLhsl(104, 58%, 35%)
HSVhsv(104, 74%, 55%)
CMYKcmyk(54.6%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.14, -43.08, 45.72)
CIE-LCHlch(52.14, 62.82, 133.30°)
OKLaboklab(57.31% -0.1187 0.1034)
OKLCHoklch(57.31% 0.157 138.9)
XYZxyz(11.9727, 20.2724, 5.0320)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D25 #72258D
analogous
#748D25 #408D25 #258D3E
triadic
#408D25 #25408D #8D2540
tetradic
#408D25 #25748D #72258D #8D3E25
square
#408D25 #25748D #72258D #8D3E25
split-complementary
#408D25 #3E258D #8D2574
monochromatic
#142C0C #2A5D18 #408D25 #56BD32 #79D359

Accessibility & contrast

On white

4.15
#408D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#408D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D25
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D25#FFFFFF#000000##000000
##408D251.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#398879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408d25;
/* rgb */ color: rgb(64, 141, 37);
/* oklch */ color: oklch(57.3% 0.157 138.9);
Tailwind
colors: {
  custom: {
    50: '#7daf66',
    500: '#408d25',
    950: '#000000',
  },
}
SCSS
$custom: #408d25;
$custom-light: #7daf66;
$custom-dark: #000000;
JSON
{
  "hex": "#408d25",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 104.423,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.15743,
    "h": 138.9
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#408D25
secondary
#9F56B8
accent
#46E2B9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408D25

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

Preview Lab → · Contrast checker → · Palette generator →

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