#408120#408120

#408120 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.145 H 137.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#408120
RGBrgb(64, 129, 32)
HSLhsl(100, 60%, 32%)
HSVhsv(100, 75%, 51%)
CMYKcmyk(50.4%, 0%, 75.2%, 49.4%)
CIE-LABlab(48.13, -38.61, 43.59)
CIE-LCHlch(48.13, 58.23, 131.53°)
OKLaboklab(54% -0.1069 0.0983)
OKLCHoklch(54% 0.145 137.4)
XYZxyz(10.2250, 16.8941, 4.0883)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408120 #612081
analogous
#718120 #408120 #208131
triadic
#408120 #204081 #812040
tetradic
#408120 #207181 #612081 #813120
square
#408120 #207181 #612081 #813120
split-complementary
#408120 #312081 #812071
monochromatic
#0F1F08 #285014 #408120 #58B22C #76D249

Accessibility & contrast

On white

4.80
#408120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#408120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408120
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408120#FFFFFF#000000##FFFFFF
##4081201.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#3C7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408120;
/* rgb */ color: rgb(64, 129, 32);
/* oklch */ color: oklch(54.0% 0.145 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba662',
    500: '#408120',
    950: '#000000',
  },
}
SCSS
$custom: #408120;
$custom-light: #7ba662;
$custom-dark: #000000;
JSON
{
  "hex": "#408120",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 100.206,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.14524,
    "h": 137.4
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#408120
secondary
#9149B4
accent
#44E3AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #408120

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

Preview Lab → · Contrast checker → · Palette generator →

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