#40B72E#40B72E

#40B72E is a light, highly saturated green. Relative luminance 0.352; OKLCH L 68.7% C 0.202 H 141.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#40B72E
RGBrgb(64, 183, 46)
HSLhsl(112, 60%, 45%)
HSVhsv(112, 75%, 72%)
CMYKcmyk(65%, 0%, 74.9%, 28.2%)
CIE-LABlab(65.87, -57.78, 56.21)
CIE-LCHlch(65.87, 80.61, 135.79°)
OKLaboklab(68.67% -0.1578 0.1266)
OKLCHoklch(68.67% 0.202 141.3)
XYZxyz(19.5400, 35.1523, 8.3396)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B72E #A52EB7
analogous
#84B72E #40B72E #2EB761
triadic
#40B72E #2E40B7 #B72E40
tetradic
#40B72E #2E84B7 #A52EB7 #B7612E
square
#40B72E #2E84B7 #A52EB7 #B7612E
split-complementary
#40B72E #612EB7 #B72E84
monochromatic
#1E5515 #2F8622 #40B72E #61D34F #8DDF80

Accessibility & contrast

On white

2.61
#40B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#40B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B72E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B72E#FFFFFF#000000##000000
##40B72E1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA611
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#2AB19D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b72e;
/* rgb */ color: rgb(64, 183, 46);
/* oklch */ color: oklch(68.7% 0.202 141.3);
Tailwind
colors: {
  custom: {
    50: '#84ce70',
    500: '#40b72e',
    950: '#000000',
  },
}
SCSS
$custom: #40b72e;
$custom-light: #84ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b72e",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 112.117,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68672,
    "c": 0.20235,
    "h": 141.3
  },
  "luminance": 0.35154
}

Semantic roles & 50–950 ramp

primary
#40B72E
secondary
#BE79C8
accent
#45E3CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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