#40B72D#40B72D

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

Color values

HEX#40B72D
RGBrgb(64, 183, 45)
HSLhsl(112, 61%, 45%)
HSVhsv(112, 75%, 72%)
CMYKcmyk(65%, 0%, 75.4%, 28.2%)
CIE-LABlab(65.86, -57.85, 56.55)
CIE-LCHlch(65.86, 80.90, 135.65°)
OKLaboklab(68.66% -0.1581 0.1272)
OKLCHoklch(68.66% 0.203 141.2)
XYZxyz(19.5205, 35.1445, 8.2370)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B72D #A42DB7
analogous
#85B72D #40B72D #2DB75F
triadic
#40B72D #2D40B7 #B72D40
tetradic
#40B72D #2D85B7 #A42DB7 #B75F2D
square
#40B72D #2D85B7 #A42DB7 #B75F2D
split-complementary
#40B72D #5F2DB7 #B72D85
monochromatic
#1E5515 #2F8621 #40B72D #60D34E #8CDF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B72D#FFFFFF#000000##000000
##40B72D1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b72d;
/* rgb */ color: rgb(64, 183, 45);
/* oklch */ color: oklch(68.7% 0.203 141.2);
Tailwind
colors: {
  custom: {
    50: '#84ce70',
    500: '#40b72d',
    950: '#000000',
  },
}
SCSS
$custom: #40b72d;
$custom-light: #84ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b72d",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 111.739,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.20289,
    "h": 141.2
  },
  "luminance": 0.35146
}

Semantic roles & 50–950 ramp

primary
#40B72D
secondary
#BD78C8
accent
#44E4CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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