#40AA72#40AA72

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

Color values

HEX#40AA72
RGBrgb(64, 170, 114)
HSLhsl(148, 45%, 46%)
HSVhsv(148, 62%, 67%)
CMYKcmyk(62.4%, 0%, 32.9%, 33.3%)
CIE-LABlab(62.55, -43.57, 20.10)
CIE-LCHlch(62.55, 47.98, 155.23°)
OKLaboklab(66.21% -0.1185 0.0508)
OKLCHoklch(66.21% 0.129 156.8)
XYZxyz(19.5246, 31.0524, 20.8811)
Luminance0.3105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA72 #AA4078
analogous
#43AA40 #40AA72 #40AAA7
triadic
#40AA72 #7240AA #AA7240
tetradic
#40AA72 #4043AA #AA4078 #AAA740
square
#40AA72 #4043AA #AA4078 #AAA740
split-complementary
#40AA72 #A740AA #AA4043
monochromatic
#1F5136 #2F7E54 #40AA72 #63C491 #8FD5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AA72#FFFFFF#000000##000000
##40AA721.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)
#A99D6F
Deuteranopia (green-blind)
#9B9376
Tritanopia (blue-blind)
#0BA99B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40aa72;
/* rgb */ color: rgb(64, 170, 114);
/* oklch */ color: oklch(66.2% 0.129 156.8);
Tailwind
colors: {
  custom: {
    50: '#80c49b',
    500: '#40aa72',
    950: '#000000',
  },
}
SCSS
$custom: #40aa72;
$custom-light: #80c49b;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa72",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 114
  },
  "hsl": {
    "h": 148.302,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.1289,
    "h": 156.8
  },
  "luminance": 0.31054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AA72

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

Preview Lab → · Contrast checker → · Palette generator →

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