#40B72B#40B72B

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

Color values

HEX#40B72B
RGBrgb(64, 183, 43)
HSLhsl(111, 62%, 44%)
HSVhsv(111, 77%, 72%)
CMYKcmyk(65%, 0%, 76.5%, 28.2%)
CIE-LABlab(65.85, -57.99, 57.22)
CIE-LCHlch(65.85, 81.46, 135.38°)
OKLaboklab(68.65% -0.1586 0.1283)
OKLCHoklch(68.65% 0.204 141)
XYZxyz(19.4829, 35.1294, 8.0390)
Luminance0.3513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B72B #A22BB7
analogous
#86B72B #40B72B #2BB75C
triadic
#40B72B #2B40B7 #B72B40
tetradic
#40B72B #2B86B7 #A22BB7 #B75C2B
square
#40B72B #2B86B7 #A22BB7 #B75C2B
split-complementary
#40B72B #5C2BB7 #B72B86
monochromatic
#1D5414 #2F851F #40B72B #5FD54B #8BE07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B72B#FFFFFF#000000##000000
##40B72B1.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)
#BCA608
Deuteranopia (green-blind)
#AE9C3B
Tritanopia (blue-blind)
#2BB19D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b72b;
/* rgb */ color: rgb(64, 183, 43);
/* oklch */ color: oklch(68.7% 0.204 141.0);
Tailwind
colors: {
  custom: {
    50: '#84ce6f',
    500: '#40b72b',
    950: '#000000',
  },
}
SCSS
$custom: #40b72b;
$custom-light: #84ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b72b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 111,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.20396,
    "h": 141
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

primary
#40B72B
secondary
#BC75C9
accent
#43E5CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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