#40AB71#40AB71

#40AB71 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.4% C 0.131 H 156.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#40AB71
RGBrgb(64, 171, 113)
HSLhsl(147, 46%, 46%)
HSVhsv(147, 63%, 67%)
CMYKcmyk(62.6%, 0%, 33.9%, 32.9%)
CIE-LABlab(62.85, -44.19, 21.05)
CIE-LCHlch(62.85, 48.94, 154.53°)
OKLaboklab(66.44% -0.12 0.0531)
OKLCHoklch(66.44% 0.131 156.2)
XYZxyz(19.6562, 31.4061, 20.6457)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB71 #AB407A
analogous
#44AB40 #40AB71 #40ABA6
triadic
#40AB71 #7140AB #AB7140
tetradic
#40AB71 #4044AB #AB407A #ABA640
square
#40AB71 #4044AB #AB407A #ABA640
split-complementary
#40AB71 #A640AB #AB4044
monochromatic
#1F5236 #2F7E54 #40AB71 #63C590 #90D5B0

Accessibility & contrast

On white

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

On black

7.28
#40AB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB71
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB71#FFFFFF#000000##000000
##40AB711.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6D
Deuteranopia (green-blind)
#9C9475
Tritanopia (blue-blind)
#0CAA9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ab71;
/* rgb */ color: rgb(64, 171, 113);
/* oklch */ color: oklch(66.4% 0.131 156.2);
Tailwind
colors: {
  custom: {
    50: '#80c59a',
    500: '#40ab71',
    950: '#000000',
  },
}
SCSS
$custom: #40ab71;
$custom-light: #80c59a;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab71",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 113
  },
  "hsl": {
    "h": 147.477,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.13123,
    "h": 156.2
  },
  "luminance": 0.31408
}

Semantic roles & 50–950 ramp

primary
#40AB71
secondary
#C186A6
accent
#5399D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AB71

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

Preview Lab → · Contrast checker → · Palette generator →

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