#40C72B#40C72B

#40C72B is a light, highly saturated green. Relative luminance 0.421; OKLCH L 72.9% C 0.222 H 141.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#40C72B
RGBrgb(64, 199, 43)
HSLhsl(112, 64%, 47%)
HSVhsv(112, 78%, 78%)
CMYKcmyk(67.8%, 0%, 78.4%, 22%)
CIE-LABlab(70.95, -63.31, 62.14)
CIE-LCHlch(70.95, 88.71, 135.54°)
OKLaboklab(72.88% -0.1729 0.1386)
OKLCHoklch(72.88% 0.222 141.3)
XYZxyz(22.9726, 42.1088, 9.2022)
Luminance0.4211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C72B #B22BC7
analogous
#8EC72B #40C72B #2BC764
triadic
#40C72B #2B40C7 #C72B40
tetradic
#40C72B #2B8EC7 #B22BC7 #C7642B
square
#40C72B #2B8EC7 #B22BC7 #C7642B
split-complementary
#40C72B #642BC7 #C72B8E
monochromatic
#206215 #309520 #40C72B #67DA55 #94E587

Accessibility & contrast

On white

2.23
#40C72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#40C72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C72B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C72B#FFFFFF#000000##000000
##40C72B1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#BCAA3D
Tritanopia (blue-blind)
#22C1AA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c72b;
/* rgb */ color: rgb(64, 199, 43);
/* oklch */ color: oklch(72.9% 0.222 141.3);
Tailwind
colors: {
  custom: {
    50: '#88d971',
    500: '#40c72b',
    950: '#000000',
  },
}
SCSS
$custom: #40c72b;
$custom-light: #88d971;
$custom-dark: #000000;
JSON
{
  "hex": "#40c72b",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 111.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.22159,
    "h": 141.3
  },
  "luminance": 0.42111
}

Semantic roles & 50–950 ramp

primary
#40C72B
secondary
#C47FCF
accent
#40E7D1
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1508
muted
#7E837B

Preview Lab

Preview with #40C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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