#408E20#408E20

#408E20 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.162 H 138.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#408E20
RGBrgb(64, 142, 32)
HSLhsl(103, 63%, 34%)
HSVhsv(103, 77%, 56%)
CMYKcmyk(54.9%, 0%, 77.5%, 44.3%)
CIE-LABlab(52.44, -43.84, 47.87)
CIE-LCHlch(52.44, 64.91, 132.49°)
OKLaboklab(57.55% -0.1211 0.1072)
OKLCHoklch(57.55% 0.162 138.5)
XYZxyz(12.0476, 20.5393, 4.6958)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E20 #6E208E
analogous
#778E20 #408E20 #208E37
triadic
#408E20 #20408E #8E2040
tetradic
#408E20 #20778E #6E208E #8E3720
square
#408E20 #20778E #6E208E #8E3720
split-complementary
#408E20 #37208E #8E2077
monochromatic
#132A09 #295C15 #408E20 #57C02B #78D851

Accessibility & contrast

On white

4.11
#408E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#408E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E20
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E20#FFFFFF#000000##000000
##408E201.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e20;
/* rgb */ color: rgb(64, 142, 32);
/* oklch */ color: oklch(57.5% 0.162 138.5);
Tailwind
colors: {
  custom: {
    50: '#7eb064',
    500: '#408e20',
    950: '#000000',
  },
}
SCSS
$custom: #408e20;
$custom-light: #7eb064;
$custom-dark: #000000;
JSON
{
  "hex": "#408e20",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 102.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.16171,
    "h": 138.5
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#408E20
secondary
#9B4FBB
accent
#42E6B6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408E20

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

Preview Lab → · Contrast checker → · Palette generator →

#408E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva