#408820#408820

#408820 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.154 H 138.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#408820
RGBrgb(64, 136, 32)
HSLhsl(102, 62%, 33%)
HSVhsv(102, 76%, 53%)
CMYKcmyk(52.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(50.45, -41.47, 45.91)
CIE-LCHlch(50.45, 61.87, 132.09°)
OKLaboklab(55.91% -0.1146 0.1031)
OKLCHoklch(55.91% 0.154 138)
XYZxyz(11.1788, 18.8018, 4.4063)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408820 #682088
analogous
#748820 #408820 #208834
triadic
#408820 #204088 #882040
tetradic
#408820 #207488 #682088 #883420
square
#408820 #207488 #682088 #883420
split-complementary
#408820 #342088 #882074
monochromatic
#112509 #295614 #408820 #57BA2C #77D54D

Accessibility & contrast

On white

4.41
#408820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#408820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408820
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408820#FFFFFF#000000##000000
##4088201.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#3A8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408820;
/* rgb */ color: rgb(64, 136, 32);
/* oklch */ color: oklch(55.9% 0.154 138.0);
Tailwind
colors: {
  custom: {
    50: '#7dab63',
    500: '#408820',
    950: '#000000',
  },
}
SCSS
$custom: #408820;
$custom-light: #7dab63;
$custom-dark: #000000;
JSON
{
  "hex": "#408820",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 101.538,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.15421,
    "h": 138
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#408820
secondary
#974CB8
accent
#43E5B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408820

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

Preview Lab → · Contrast checker → · Palette generator →

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