#40AE21#40AE21

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

Color values

HEX#40AE21
RGBrgb(64, 174, 33)
HSLhsl(107, 68%, 41%)
HSVhsv(107, 81%, 68%)
CMYKcmyk(63.2%, 0%, 81%, 31.8%)
CIE-LABlab(62.90, -55.52, 57.52)
CIE-LCHlch(62.90, 79.94, 133.99°)
OKLaboklab(66.19% -0.1524 0.1275)
OKLCHoklch(66.19% 0.199 140.1)
XYZxyz(17.5241, 31.4702, 6.5894)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE21 #8F21AE
analogous
#86AE21 #40AE21 #21AE49
triadic
#40AE21 #2140AE #AE2140
tetradic
#40AE21 #2186AE #8F21AE #AE4921
square
#40AE21 #2186AE #8F21AE #AE4921
split-complementary
#40AE21 #4921AE #AE2186
monochromatic
#1A470D #2D7B17 #40AE21 #58D834 #82E267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AE21#FFFFFF#000000##000000
##40AE211.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: #40ae21;
/* rgb */ color: rgb(64, 174, 33);
/* oklch */ color: oklch(66.2% 0.199 140.1);
Tailwind
colors: {
  custom: {
    50: '#83c769',
    500: '#40ae21',
    950: '#000000',
  },
}
SCSS
$custom: #40ae21;
$custom-light: #83c769;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae21",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 106.809,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.19872,
    "h": 140.1
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#40AE21
secondary
#B263C8
accent
#3DEBC5
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AE21

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

Preview Lab → · Contrast checker → · Palette generator →

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