#408F20#408F20

#408F20 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.163 H 138.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#408F20
RGBrgb(64, 143, 32)
HSLhsl(103, 63%, 34%)
HSVhsv(103, 78%, 56%)
CMYKcmyk(55.2%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.77, -44.23, 48.19)
CIE-LCHlch(52.77, 65.41, 132.55°)
OKLaboklab(57.82% -0.1221 0.1079)
OKLCHoklch(57.82% 0.163 138.5)
XYZxyz(12.1971, 20.8382, 4.7457)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F20 #6F208F
analogous
#788F20 #408F20 #208F38
triadic
#408F20 #20408F #8F2040
tetradic
#408F20 #20788F #6F208F #8F3820
square
#408F20 #20788F #6F208F #8F3820
split-complementary
#408F20 #38208F #8F2078
monochromatic
#132B0A #2A5D15 #408F20 #56C12B #78D851

Accessibility & contrast

On white

4.06
#408F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#408F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F20#FFFFFF#000000##000000
##408F201.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#398A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f20;
/* rgb */ color: rgb(64, 143, 32);
/* oklch */ color: oklch(57.8% 0.163 138.5);
Tailwind
colors: {
  custom: {
    50: '#7eb064',
    500: '#408f20',
    950: '#000000',
  },
}
SCSS
$custom: #408f20;
$custom-light: #7eb064;
$custom-dark: #000000;
JSON
{
  "hex": "#408f20",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 102.703,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.16294,
    "h": 138.5
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#408F20
secondary
#9C4FBB
accent
#41E6B7
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #408F20

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

Preview Lab → · Contrast checker → · Palette generator →

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