#408B26#408B26

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

Color values

HEX#408B26
RGBrgb(64, 139, 38)
HSLhsl(105, 57%, 35%)
HSVhsv(105, 73%, 55%)
CMYKcmyk(54%, 0%, 72.7%, 45.5%)
CIE-LABlab(51.49, -42.20, 44.65)
CIE-LCHlch(51.49, 61.44, 133.38°)
OKLaboklab(56.78% -0.1162 0.1014)
OKLCHoklch(56.78% 0.154 138.9)
XYZxyz(11.6964, 19.6943, 5.0184)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B26 #71268B
analogous
#738B26 #408B26 #268B3E
triadic
#408B26 #26408B #8B2640
tetradic
#408B26 #26738B #71268B #8B3E26
square
#408B26 #26738B #71268B #8B3E26
split-complementary
#408B26 #3E268B #8B2673
monochromatic
#142B0C #2A5B19 #408B26 #56BB33 #79D25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B26#FFFFFF#000000##000000
##408B261.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)
#8F7F16
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b26;
/* rgb */ color: rgb(64, 139, 38);
/* oklch */ color: oklch(56.8% 0.154 138.9);
Tailwind
colors: {
  custom: {
    50: '#7dad67',
    500: '#408b26',
    950: '#000000',
  },
}
SCSS
$custom: #408b26;
$custom-light: #7dad67;
$custom-dark: #000000;
JSON
{
  "hex": "#408b26",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 104.554,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.15423,
    "h": 138.9
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#408B26
secondary
#9E56B7
accent
#47E0B9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408B26

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

Preview Lab → · Contrast checker → · Palette generator →

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