#40AA71#40AA71

#40AA71 is a light, vivid green. Relative luminance 0.310; OKLCH L 66.2% C 0.130 H 156.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#40AA71
RGBrgb(64, 170, 113)
HSLhsl(148, 45%, 46%)
HSVhsv(148, 62%, 67%)
CMYKcmyk(62.4%, 0%, 33.5%, 33.3%)
CIE-LABlab(62.53, -43.77, 20.62)
CIE-LCHlch(62.53, 48.38, 154.78°)
OKLaboklab(66.19% -0.119 0.052)
OKLCHoklch(66.19% 0.13 156.4)
XYZxyz(19.4680, 31.0297, 20.5830)
Luminance0.3103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA71 #AA4079
analogous
#44AA40 #40AA71 #40AAA6
triadic
#40AA71 #7140AA #AA7140
tetradic
#40AA71 #4044AA #AA4079 #AAA640
square
#40AA71 #4044AA #AA4079 #AAA640
split-complementary
#40AA71 #A640AA #AA4044
monochromatic
#1F5136 #2F7E53 #40AA71 #63C490 #8FD5B0

Accessibility & contrast

On white

2.91
#40AA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#40AA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA71
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA71#FFFFFF#000000##000000
##40AA711.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6D
Deuteranopia (green-blind)
#9B9375
Tritanopia (blue-blind)
#0DA99B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40aa71;
/* rgb */ color: rgb(64, 170, 113);
/* oklch */ color: oklch(66.2% 0.130 156.4);
Tailwind
colors: {
  custom: {
    50: '#80c49a',
    500: '#40aa71',
    950: '#000000',
  },
}
SCSS
$custom: #40aa71;
$custom-light: #80c49a;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa71",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 113
  },
  "hsl": {
    "h": 147.736,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66185,
    "c": 0.12983,
    "h": 156.4
  },
  "luminance": 0.31032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AA71

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

Preview Lab → · Contrast checker → · Palette generator →

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