#408626#408626

#408626 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.148 H 138.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#408626
RGBrgb(64, 134, 38)
HSLhsl(104, 56%, 34%)
HSVhsv(104, 72%, 53%)
CMYKcmyk(52.2%, 0%, 71.6%, 47.5%)
CIE-LABlab(49.83, -40.18, 42.94)
CIE-LCHlch(49.83, 58.81, 133.10°)
OKLaboklab(55.41% -0.1108 0.0978)
OKLCHoklch(55.41% 0.148 138.6)
XYZxyz(10.9889, 18.2793, 4.7825)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408626 #6C2686
analogous
#708626 #408626 #26863C
triadic
#408626 #264086 #862640
tetradic
#408626 #267086 #6C2686 #863C26
square
#408626 #267086 #6C2686 #863C26
split-complementary
#408626 #3C2686 #862670
monochromatic
#12270B #295618 #408626 #57B634 #78CF57

Accessibility & contrast

On white

4.51
#408626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#408626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408626
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408626#FFFFFF#000000##000000
##4086261.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#3A8173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408626;
/* rgb */ color: rgb(64, 134, 38);
/* oklch */ color: oklch(55.4% 0.148 138.6);
Tailwind
colors: {
  custom: {
    50: '#7caa66',
    500: '#408626',
    950: '#000000',
  },
}
SCSS
$custom: #408626;
$custom-light: #7caa66;
$custom-dark: #000000;
JSON
{
  "hex": "#408626",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 103.75,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.14776,
    "h": 138.6
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#408626
secondary
#9A54B4
accent
#49DFB6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408626

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

Preview Lab → · Contrast checker → · Palette generator →

#408626 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva