#408D26#408D26

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

Color values

HEX#408D26
RGBrgb(64, 141, 38)
HSLhsl(105, 58%, 35%)
HSVhsv(105, 73%, 55%)
CMYKcmyk(54.6%, 0%, 73%, 44.7%)
CIE-LABlab(52.15, -43.00, 45.33)
CIE-LCHlch(52.15, 62.48, 133.49°)
OKLaboklab(57.32% -0.1184 0.1028)
OKLCHoklch(57.32% 0.157 139)
XYZxyz(11.9886, 20.2787, 5.1158)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D26 #73268D
analogous
#748D26 #408D26 #268D3F
triadic
#408D26 #26408D #8D2640
tetradic
#408D26 #26748D #73268D #8D3F26
square
#408D26 #26748D #73268D #8D3F26
split-complementary
#408D26 #3F268D #8D2674
monochromatic
#142D0C #2A5D19 #408D26 #56BD33 #79D35B

Accessibility & contrast

On white

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

On black

5.06
#408D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D26
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D26#FFFFFF#000000##000000
##408D261.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408d26;
/* rgb */ color: rgb(64, 141, 38);
/* oklch */ color: oklch(57.3% 0.157 139.0);
Tailwind
colors: {
  custom: {
    50: '#7daf67',
    500: '#408d26',
    950: '#000000',
  },
}
SCSS
$custom: #408d26;
$custom-light: #7daf67;
$custom-dark: #000000;
JSON
{
  "hex": "#408d26",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 104.854,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.15679,
    "h": 139
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#408D26
secondary
#9F57B8
accent
#47E1BA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408D26

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

Preview Lab → · Contrast checker → · Palette generator →

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