#40AE20#40AE20

#40AE20 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.199 H 140.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#40AE20
RGBrgb(64, 174, 32)
HSLhsl(106, 69%, 40%)
HSVhsv(106, 82%, 68%)
CMYKcmyk(63.2%, 0%, 81.6%, 31.8%)
CIE-LABlab(62.90, -55.57, 57.80)
CIE-LCHlch(62.90, 80.18, 133.88°)
OKLaboklab(66.19% -0.1526 0.128)
OKLCHoklch(66.19% 0.199 140)
XYZxyz(17.5103, 31.4647, 6.5167)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE20 #8E20AE
analogous
#87AE20 #40AE20 #20AE47
triadic
#40AE20 #2040AE #AE2040
tetradic
#40AE20 #2087AE #8E20AE #AE4720
square
#40AE20 #2087AE #8E20AE #AE4720
split-complementary
#40AE20 #4720AE #AE2087
monochromatic
#1A470D #2D7A16 #40AE20 #58D932 #82E366

Accessibility & contrast

On white

2.88
#40AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#40AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE20
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE20#FFFFFF#000000##000000
##40AE201.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#30A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae20;
/* rgb */ color: rgb(64, 174, 32);
/* oklch */ color: oklch(66.2% 0.199 140.0);
Tailwind
colors: {
  custom: {
    50: '#83c769',
    500: '#40ae20',
    950: '#000000',
  },
}
SCSS
$custom: #40ae20;
$custom-light: #83c769;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae20",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 106.479,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.19916,
    "h": 140
  },
  "luminance": 0.31466
}

Semantic roles & 50–950 ramp

primary
#40AE20
secondary
#B162C8
accent
#3CECC4
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AE20

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

Preview Lab → · Contrast checker → · Palette generator →

#40AE20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva