#408420#408420

#408420 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.149 H 137.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#408420
RGBrgb(64, 132, 32)
HSLhsl(101, 61%, 32%)
HSVhsv(101, 76%, 52%)
CMYKcmyk(51.5%, 0%, 75.8%, 48.2%)
CIE-LABlab(49.13, -39.84, 44.59)
CIE-LCHlch(49.13, 59.80, 131.78°)
OKLaboklab(54.82% -0.1103 0.1004)
OKLCHoklch(54.82% 0.149 137.7)
XYZxyz(10.6260, 17.6960, 4.2220)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408420 #642084
analogous
#728420 #408420 #208432
triadic
#408420 #204084 #842040
tetradic
#408420 #207284 #642084 #843220
square
#408420 #207284 #642084 #843220
split-complementary
#408420 #322084 #842072
monochromatic
#102108 #285314 #408420 #58B52C #77D34B

Accessibility & contrast

On white

4.63
#408420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#408420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408420
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408420#FFFFFF#000000##FFFFFF
##4084201.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#3B7F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408420;
/* rgb */ color: rgb(64, 132, 32);
/* oklch */ color: oklch(54.8% 0.149 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ca863',
    500: '#408420',
    950: '#000000',
  },
}
SCSS
$custom: #408420;
$custom-light: #7ca863;
$custom-dark: #000000;
JSON
{
  "hex": "#408420",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 100.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.14912,
    "h": 137.7
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#408420
secondary
#934AB6
accent
#44E4B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408420

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

Preview Lab → · Contrast checker → · Palette generator →

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