#408320#408320

#408320 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.148 H 137.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#408320
RGBrgb(64, 131, 32)
HSLhsl(101, 61%, 32%)
HSVhsv(101, 76%, 51%)
CMYKcmyk(51.1%, 0%, 75.6%, 48.6%)
CIE-LABlab(48.79, -39.43, 44.26)
CIE-LCHlch(48.79, 59.28, 131.70°)
OKLaboklab(54.54% -0.1092 0.0997)
OKLCHoklch(54.54% 0.148 137.6)
XYZxyz(10.4910, 17.4261, 4.1770)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408320 #632083
analogous
#728320 #408320 #208332
triadic
#408320 #204083 #832040
tetradic
#408320 #207283 #632083 #833220
square
#408320 #207283 #632083 #833220
split-complementary
#408320 #322083 #832072
monochromatic
#102108 #285214 #408320 #58B42C #77D34A

Accessibility & contrast

On white

4.68
#408320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#408320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408320
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408320#FFFFFF#000000##FFFFFF
##4083201.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#3B7E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408320;
/* rgb */ color: rgb(64, 131, 32);
/* oklch */ color: oklch(54.5% 0.148 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ca863',
    500: '#408320',
    950: '#000000',
  },
}
SCSS
$custom: #408320;
$custom-light: #7ca863;
$custom-dark: #000000;
JSON
{
  "hex": "#408320",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 100.606,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.14782,
    "h": 137.6
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#408320
secondary
#9349B6
accent
#44E4B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #408320

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

Preview Lab → · Contrast checker → · Palette generator →

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