#40CB71#40CB71

#40CB71 is a light, vivid green. Relative luminance 0.450; OKLCH L 74.7% C 0.175 H 151.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#40CB71
RGBrgb(64, 203, 113)
HSLhsl(141, 57%, 52%)
HSVhsv(141, 68%, 80%)
CMYKcmyk(68.5%, 0%, 44.3%, 20.4%)
CIE-LABlab(72.89, -56.70, 34.30)
CIE-LCHlch(72.89, 66.26, 148.83°)
OKLaboklab(74.7% -0.1528 0.0844)
OKLCHoklch(74.7% 0.175 151.1)
XYZxyz(26.4488, 44.9912, 22.9099)
Luminance0.4499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB71 #CB409A
analogous
#55CB40 #40CB71 #40CBB7
triadic
#40CB71 #7140CB #CB7140
tetradic
#40CB71 #4055CB #CB409A #CBB740
square
#40CB71 #4055CB #CB409A #CBB740
split-complementary
#40CB71 #B740CB #CB4055
monochromatic
#1F723C #2CA256 #40CB71 #70D895 #A0E5B9

Accessibility & contrast

On white

2.10
#40CB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#40CB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB71
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB71#FFFFFF#000000##000000
##40CB711.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA6A
Deuteranopia (green-blind)
#BBAE77
Tritanopia (blue-blind)
#00C8B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb71;
/* rgb */ color: rgb(64, 203, 113);
/* oklch */ color: oklch(74.7% 0.175 151.1);
Tailwind
colors: {
  custom: {
    50: '#86dc9b',
    500: '#40cb71',
    950: '#000000',
  },
}
SCSS
$custom: #40cb71;
$custom-light: #86dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb71",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 141.151,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74702,
    "c": 0.17454,
    "h": 151.1
  },
  "luminance": 0.44994
}

Semantic roles & 50–950 ramp

primary
#40CB71
secondary
#D295BC
accent
#47AAE0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CB71

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

Preview Lab → · Contrast checker → · Palette generator →

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