#40AF72#40AF72

#40AF72 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.5% C 0.136 H 155.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#40AF72
RGBrgb(64, 175, 114)
HSLhsl(147, 46%, 47%)
HSVhsv(147, 63%, 69%)
CMYKcmyk(63.4%, 0%, 34.9%, 31.4%)
CIE-LABlab(64.13, -45.64, 22.24)
CIE-LCHlch(64.13, 50.77, 154.02°)
OKLaboklab(67.5% -0.1238 0.056)
OKLCHoklch(67.5% 0.136 155.7)
XYZxyz(20.4798, 32.9627, 21.1995)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF72 #AF407D
analogous
#45AF40 #40AF72 #40AFAA
triadic
#40AF72 #7240AF #AF7240
tetradic
#40AF72 #4045AF #AF407D #AFAA40
square
#40AF72 #4045AF #AF407D #AFAA40
split-complementary
#40AF72 #AA40AF #AF4045
monochromatic
#1F5538 #308255 #40AF72 #65C791 #92D7B1

Accessibility & contrast

On white

2.77
#40AF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#40AF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF72
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF72#FFFFFF#000000##000000
##40AF721.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA26E
Deuteranopia (green-blind)
#A09776
Tritanopia (blue-blind)
#05AD9F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af72;
/* rgb */ color: rgb(64, 175, 114);
/* oklch */ color: oklch(67.5% 0.136 155.7);
Tailwind
colors: {
  custom: {
    50: '#81c89b',
    500: '#40af72',
    950: '#000000',
  },
}
SCSS
$custom: #40af72;
$custom-light: #81c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40af72",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 114
  },
  "hsl": {
    "h": 147.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.13588,
    "h": 155.7
  },
  "luminance": 0.32965
}

Semantic roles & 50–950 ramp

primary
#40AF72
secondary
#C388A8
accent
#529AD6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF72

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

Preview Lab → · Contrast checker → · Palette generator →

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