#408E25#408E25

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

Color values

HEX#408E25
RGBrgb(64, 142, 37)
HSLhsl(105, 59%, 35%)
HSVhsv(105, 74%, 56%)
CMYKcmyk(54.9%, 0%, 73.9%, 44.3%)
CIE-LABlab(52.47, -43.48, 46.05)
CIE-LCHlch(52.47, 63.33, 133.35°)
OKLaboklab(57.58% -0.1197 0.1042)
OKLCHoklch(57.58% 0.159 139)
XYZxyz(12.1208, 20.5686, 5.0813)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E25 #73258E
analogous
#758E25 #408E25 #258E3E
triadic
#408E25 #25408E #8E2540
tetradic
#408E25 #25758E #73258E #8E3E25
square
#408E25 #25758E #73258E #8E3E25
split-complementary
#408E25 #3E258E #8E2575
monochromatic
#142D0C #2A5D18 #408E25 #56BF32 #79D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408E25#FFFFFF#000000##000000
##408E251.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)
#928112
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e25;
/* rgb */ color: rgb(64, 142, 37);
/* oklch */ color: oklch(57.6% 0.159 139.0);
Tailwind
colors: {
  custom: {
    50: '#7db067',
    500: '#408e25',
    950: '#000000',
  },
}
SCSS
$custom: #408e25;
$custom-light: #7db067;
$custom-dark: #000000;
JSON
{
  "hex": "#408e25",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 104.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.15871,
    "h": 139
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#408E25
secondary
#9F56B9
accent
#46E2BA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408E25

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

Preview Lab → · Contrast checker → · Palette generator →

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