#40AC71#40AC71

#40AC71 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.7% C 0.133 H 155.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#40AC71
RGBrgb(64, 172, 113)
HSLhsl(147, 46%, 46%)
HSVhsv(147, 63%, 67%)
CMYKcmyk(62.8%, 0%, 34.3%, 32.5%)
CIE-LABlab(63.16, -44.60, 21.47)
CIE-LCHlch(63.16, 49.50, 154.29°)
OKLaboklab(66.7% -0.1211 0.0541)
OKLCHoklch(66.7% 0.133 155.9)
XYZxyz(19.8458, 31.7853, 20.7089)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC71 #AC407B
analogous
#45AC40 #40AC71 #40ACA7
triadic
#40AC71 #7140AC #AC7140
tetradic
#40AC71 #4045AC #AC407B #ACA740
square
#40AC71 #4045AC #AC407B #ACA740
split-complementary
#40AC71 #A740AC #AC4045
monochromatic
#1F5336 #2F7F54 #40AC71 #64C590 #91D6B0

Accessibility & contrast

On white

2.85
#40AC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#40AC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC71
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC71#FFFFFF#000000##000000
##40AC711.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6D
Deuteranopia (green-blind)
#9D9575
Tritanopia (blue-blind)
#0AAA9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ac71;
/* rgb */ color: rgb(64, 172, 113);
/* oklch */ color: oklch(66.7% 0.133 155.9);
Tailwind
colors: {
  custom: {
    50: '#80c59a',
    500: '#40ac71',
    950: '#000000',
  },
}
SCSS
$custom: #40ac71;
$custom-light: #80c59a;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac71",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 113
  },
  "hsl": {
    "h": 147.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.13264,
    "h": 155.9
  },
  "luminance": 0.31787
}

Semantic roles & 50–950 ramp

primary
#40AC71
secondary
#C187A7
accent
#529AD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AC71

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

Preview Lab → · Contrast checker → · Palette generator →

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