#408B25#408B25

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

Color values

HEX#408B25
RGBrgb(64, 139, 37)
HSLhsl(104, 58%, 35%)
HSVhsv(104, 73%, 55%)
CMYKcmyk(54%, 0%, 73.4%, 45.5%)
CIE-LABlab(51.48, -42.29, 45.04)
CIE-LCHlch(51.48, 61.78, 133.19°)
OKLaboklab(56.77% -0.1165 0.102)
OKLCHoklch(56.77% 0.155 138.8)
XYZxyz(11.6805, 19.6879, 4.9345)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B25 #70258B
analogous
#738B25 #408B25 #258B3D
triadic
#408B25 #25408B #8B2540
tetradic
#408B25 #25738B #70258B #8B3D25
square
#408B25 #25738B #70258B #8B3D25
split-complementary
#408B25 #3D258B #8B2573
monochromatic
#132A0B #2A5B18 #408B25 #56BB32 #78D358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B25#FFFFFF#000000##000000
##408B251.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)
#8F7F14
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b25;
/* rgb */ color: rgb(64, 139, 37);
/* oklch */ color: oklch(56.8% 0.155 138.8);
Tailwind
colors: {
  custom: {
    50: '#7dad66',
    500: '#408b25',
    950: '#000000',
  },
}
SCSS
$custom: #408b25;
$custom-light: #7dad66;
$custom-dark: #000000;
JSON
{
  "hex": "#408b25",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 104.118,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.15489,
    "h": 138.8
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#408B25
secondary
#9D55B7
accent
#47E1B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408B25

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

Preview Lab → · Contrast checker → · Palette generator →

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