#408520#408520

#408520 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.150 H 137.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#408520
RGBrgb(64, 133, 32)
HSLhsl(101, 61%, 32%)
HSVhsv(101, 76%, 52%)
CMYKcmyk(51.9%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.46, -40.25, 44.92)
CIE-LCHlch(49.46, 60.32, 131.86°)
OKLaboklab(55.09% -0.1114 0.1011)
OKLCHoklch(55.09% 0.15 137.8)
XYZxyz(10.7622, 17.9685, 4.2674)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408520 #652085
analogous
#738520 #408520 #208532
triadic
#408520 #204085 #852040
tetradic
#408520 #207385 #652085 #853220
square
#408520 #207385 #652085 #853220
split-complementary
#408520 #322085 #852073
monochromatic
#112208 #285414 #408520 #58B62C #77D44C

Accessibility & contrast

On white

4.57
#408520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#408520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408520
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408520#FFFFFF#000000##000000
##4085201.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#3B8072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408520;
/* rgb */ color: rgb(64, 133, 32);
/* oklch */ color: oklch(55.1% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#7ca963',
    500: '#408520',
    950: '#000000',
  },
}
SCSS
$custom: #408520;
$custom-light: #7ca963;
$custom-dark: #000000;
JSON
{
  "hex": "#408520",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 100.99,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.15039,
    "h": 137.8
  },
  "luminance": 0.17969
}

Semantic roles & 50–950 ramp

primary
#408520
secondary
#944AB7
accent
#43E4B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408520

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

Preview Lab → · Contrast checker → · Palette generator →

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