#40B72A#40B72A

#40B72A is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.6% C 0.204 H 140.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#40B72A
RGBrgb(64, 183, 42)
HSLhsl(111, 63%, 44%)
HSVhsv(111, 77%, 72%)
CMYKcmyk(65%, 0%, 77%, 28.2%)
CIE-LABlab(65.84, -58.06, 57.54)
CIE-LCHlch(65.84, 81.74, 135.26°)
OKLaboklab(68.65% -0.1588 0.1288)
OKLCHoklch(68.65% 0.204 140.9)
XYZxyz(19.4648, 35.1222, 7.9435)
Luminance0.3512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B72A #A12AB7
analogous
#87B72A #40B72A #2AB75A
triadic
#40B72A #2A40B7 #B72A40
tetradic
#40B72A #2A87B7 #A12AB7 #B75A2A
square
#40B72A #2A87B7 #A12AB7 #B75A2A
split-complementary
#40B72A #5A2AB7 #B72A87
monochromatic
#1D5313 #2F851F #40B72A #5FD549 #8BE17B

Accessibility & contrast

On white

2.62
#40B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#40B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B72A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B72A#FFFFFF#000000##000000
##40B72A1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA605
Deuteranopia (green-blind)
#AE9C3A
Tritanopia (blue-blind)
#2BB19C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b72a;
/* rgb */ color: rgb(64, 183, 42);
/* oklch */ color: oklch(68.6% 0.204 140.9);
Tailwind
colors: {
  custom: {
    50: '#84ce6e',
    500: '#40b72a',
    950: '#000000',
  },
}
SCSS
$custom: #40b72a;
$custom-light: #84ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b72a",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 110.638,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68645,
    "c": 0.20448,
    "h": 140.9
  },
  "luminance": 0.35124
}

Semantic roles & 50–950 ramp

primary
#40B72A
secondary
#BC74C9
accent
#42E6CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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