#40AE40#40AE40

#40AE40 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.4% C 0.180 H 143.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#40AE40
RGBrgb(64, 174, 64)
HSLhsl(120, 46%, 47%)
HSVhsv(120, 63%, 68%)
CMYKcmyk(63.2%, 0%, 63.2%, 31.8%)
CIE-LABlab(63.12, -52.97, 46.13)
CIE-LCHlch(63.12, 70.24, 138.95°)
OKLaboklab(66.44% -0.1439 0.1076)
OKLCHoklch(66.44% 0.18 143.2)
XYZxyz(18.1748, 31.7305, 10.0163)
Luminance0.3173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE40 #AE40AE
analogous
#77AE40 #40AE40 #40AE77
triadic
#40AE40 #4040AE #AE4040
tetradic
#40AE40 #4077AE #AE40AE #AE7740
square
#40AE40 #4077AE #AE40AE #AE7740
split-complementary
#40AE40 #7740AE #AE4077
monochromatic
#1F551F #308130 #40AE40 #65C665 #92D792

Accessibility & contrast

On white

2.86
#40AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#40AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE40
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE40#FFFFFF#000000##000000
##40AE401.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E33
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#2AA997
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ae40;
/* rgb */ color: rgb(64, 174, 64);
/* oklch */ color: oklch(66.4% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#82c779',
    500: '#40ae40',
    950: '#000000',
  },
}
SCSS
$custom: #40ae40;
$custom-light: #82c779;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae40",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.17965,
    "h": 143.2
  },
  "luminance": 0.31732
}

Semantic roles & 50–950 ramp

primary
#40AE40
secondary
#C288C2
accent
#52D6D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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