#40B72C#40B72C

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

Color values

HEX#40B72C
RGBrgb(64, 183, 44)
HSLhsl(111, 61%, 45%)
HSVhsv(111, 76%, 72%)
CMYKcmyk(65%, 0%, 76%, 28.2%)
CIE-LABlab(65.86, -57.92, 56.89)
CIE-LCHlch(65.86, 81.18, 135.52°)
OKLaboklab(68.66% -0.1583 0.1277)
OKLCHoklch(68.66% 0.203 141.1)
XYZxyz(19.5015, 35.1369, 8.1368)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B72C #A32CB7
analogous
#86B72C #40B72C #2CB75E
triadic
#40B72C #2C40B7 #B72C40
tetradic
#40B72C #2C86B7 #A32CB7 #B75E2C
square
#40B72C #2C86B7 #A32CB7 #B75E2C
split-complementary
#40B72C #5E2CB7 #B72C86
monochromatic
#1D5414 #2F8620 #40B72C #60D44C #8CE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B72C#FFFFFF#000000##000000
##40B72C1.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)
#BCA60C
Deuteranopia (green-blind)
#AE9C3B
Tritanopia (blue-blind)
#2AB19D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b72c;
/* rgb */ color: rgb(64, 183, 44);
/* oklch */ color: oklch(68.7% 0.203 141.1);
Tailwind
colors: {
  custom: {
    50: '#84ce6f',
    500: '#40b72c',
    950: '#000000',
  },
}
SCSS
$custom: #40b72c;
$custom-light: #84ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b72c",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 111.367,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.20343,
    "h": 141.1
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

primary
#40B72C
secondary
#BD76C8
accent
#43E4CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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