#40AE62#40AE62

#40AE62 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.9% C 0.150 H 150.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40AE62
RGBrgb(64, 174, 98)
HSLhsl(139, 46%, 47%)
HSVhsv(139, 63%, 68%)
CMYKcmyk(63.2%, 0%, 43.7%, 31.8%)
CIE-LABlab(63.54, -48.19, 29.98)
CIE-LCHlch(63.54, 56.76, 148.12°)
OKLaboklab(66.93% -0.1301 0.0739)
OKLCHoklch(66.93% 0.15 150.4)
XYZxyz(19.4535, 32.2420, 16.7510)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE62 #AE408C
analogous
#55AE40 #40AE62 #40AE99
triadic
#40AE62 #6240AE #AE6240
tetradic
#40AE62 #4055AE #AE408C #AE9940
square
#40AE62 #4055AE #AE408C #AE9940
split-complementary
#40AE62 #9940AE #AE4055
monochromatic
#1F5530 #308149 #40AE62 #65C683 #92D7A7

Accessibility & contrast

On white

2.82
#40AE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40AE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE62
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE62#FFFFFF#000000##000000
##40AE621.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05C
Deuteranopia (green-blind)
#A19667
Tritanopia (blue-blind)
#1AAB9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40ae62;
/* rgb */ color: rgb(64, 174, 98);
/* oklch */ color: oklch(66.9% 0.150 150.4);
Tailwind
colors: {
  custom: {
    50: '#81c78f',
    500: '#40ae62',
    950: '#000000',
  },
}
SCSS
$custom: #40ae62;
$custom-light: #81c78f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae62",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 98
  },
  "hsl": {
    "h": 138.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66929,
    "c": 0.14967,
    "h": 150.4
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#40AE62
secondary
#C288B0
accent
#52ADD6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AE62

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

Preview Lab → · Contrast checker → · Palette generator →

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