#40C652#40C652

#40C652 is a light, vivid green. Relative luminance 0.421; OKLCH L 73.0% C 0.195 H 145.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#40C652
RGBrgb(64, 198, 82)
HSLhsl(128, 54%, 51%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(67.7%, 0%, 58.6%, 22.4%)
CIE-LABlab(70.93, -59.41, 46.93)
CIE-LCHlch(70.93, 75.72, 141.69°)
OKLaboklab(72.96% -0.1605 0.1109)
OKLCHoklch(72.96% 0.195 145.4)
XYZxyz(23.8298, 42.0848, 14.8483)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C652 #C640B4
analogous
#71C640 #40C652 #40C695
triadic
#40C652 #5240C6 #C65240
tetradic
#40C652 #4071C6 #C640B4 #C69540
square
#40C652 #4071C6 #C640B4 #C69540
split-complementary
#40C652 #9540C6 #C64071
monochromatic
#206C2A #2E9B3D #40C652 #6FD47D #9EE2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C652#FFFFFF#000000##000000
##40C6521.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)
#C9B446
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#12C1AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c652;
/* rgb */ color: rgb(64, 198, 82);
/* oklch */ color: oklch(73.0% 0.195 145.4);
Tailwind
colors: {
  custom: {
    50: '#86d886',
    500: '#40c652',
    950: '#000000',
  },
}
SCSS
$custom: #40c652;
$custom-light: #86d886;
$custom-dark: #000000;
JSON
{
  "hex": "#40c652",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 128.06,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.19513,
    "h": 145.4
  },
  "luminance": 0.42087
}

Semantic roles & 50–950 ramp

primary
#40C652
secondary
#CE93C7
accent
#4ACADD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C652

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

Preview Lab → · Contrast checker → · Palette generator →

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