#408828#408828

#408828 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.149 H 139.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#408828
RGBrgb(64, 136, 40)
HSLhsl(105, 55%, 35%)
HSVhsv(105, 71%, 53%)
CMYKcmyk(52.9%, 0%, 70.6%, 46.7%)
CIE-LABlab(50.51, -40.82, 42.82)
CIE-LCHlch(50.51, 59.16, 133.63°)
OKLaboklab(55.98% -0.1124 0.0978)
OKLCHoklch(55.98% 0.149 139)
XYZxyz(11.3011, 18.8507, 5.0501)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408828 #702888
analogous
#708828 #408828 #288840
triadic
#408828 #284088 #882840
tetradic
#408828 #287088 #702888 #884028
square
#408828 #287088 #702888 #884028
split-complementary
#408828 #402888 #882870
monochromatic
#13290C #2A591A #408828 #56B736 #78CF5B

Accessibility & contrast

On white

4.40
#408828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#408828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408828
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408828#FFFFFF#000000##000000
##4088281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#3A8375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408828;
/* rgb */ color: rgb(64, 136, 40);
/* oklch */ color: oklch(56.0% 0.149 139.0);
Tailwind
colors: {
  custom: {
    50: '#7cab67',
    500: '#408828',
    950: '#000000',
  },
}
SCSS
$custom: #408828;
$custom-light: #7cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#408828",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 105,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.14897,
    "h": 139
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#408828
secondary
#9D58B4
accent
#4ADEB9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408828

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

Preview Lab → · Contrast checker → · Palette generator →

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