#40CB7E#40CB7E

#40CB7E is a light, vivid green. Relative luminance 0.453; OKLCH L 74.9% C 0.163 H 154.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#40CB7E
RGBrgb(64, 203, 126)
HSLhsl(147, 57%, 52%)
HSVhsv(147, 68%, 80%)
CMYKcmyk(68.5%, 0%, 37.9%, 20.4%)
CIE-LABlab(73.09, -54.39, 27.89)
CIE-LCHlch(73.09, 61.12, 152.85°)
OKLaboklab(74.94% -0.147 0.0697)
OKLCHoklch(74.94% 0.163 154.6)
XYZxyz(27.2337, 45.3052, 27.0441)
Luminance0.4531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB7E #CB408D
analogous
#47CB40 #40CB7E #40CBC4
triadic
#40CB7E #7E40CB #CB7E40
tetradic
#40CB7E #4047CB #CB408D #CBC440
square
#40CB7E #4047CB #CB408D #CBC440
split-complementary
#40CB7E #C440CB #CB4047
monochromatic
#1F7244 #2CA261 #40CB7E #70D89E #A0E5BF

Accessibility & contrast

On white

2.09
#40CB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#40CB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB7E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB7E#FFFFFF#000000##000000
##40CB7E1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABB79
Deuteranopia (green-blind)
#B9AE83
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb7e;
/* rgb */ color: rgb(64, 203, 126);
/* oklch */ color: oklch(74.9% 0.163 154.6);
Tailwind
colors: {
  custom: {
    50: '#86dca4',
    500: '#40cb7e',
    950: '#000000',
  },
}
SCSS
$custom: #40cb7e;
$custom-light: #86dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb7e",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 126
  },
  "hsl": {
    "h": 146.763,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7494,
    "c": 0.16267,
    "h": 154.6
  },
  "luminance": 0.45308
}

Semantic roles & 50–950 ramp

primary
#40CB7E
secondary
#D295B7
accent
#479CE0
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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