#40CB7D#40CB7D

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

Color values

HEX#40CB7D
RGBrgb(64, 203, 125)
HSLhsl(146, 57%, 52%)
HSVhsv(146, 68%, 80%)
CMYKcmyk(68.5%, 0%, 38.4%, 20.4%)
CIE-LABlab(73.08, -54.58, 28.39)
CIE-LCHlch(73.08, 61.52, 152.52°)
OKLaboklab(74.92% -0.1474 0.0709)
OKLCHoklch(74.92% 0.164 154.3)
XYZxyz(27.1695, 45.2795, 26.7060)
Luminance0.4528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB7D #CB408E
analogous
#48CB40 #40CB7D #40CBC3
triadic
#40CB7D #7D40CB #CB7D40
tetradic
#40CB7D #4048CB #CB408E #CBC340
square
#40CB7D #4048CB #CB408E #CBC340
split-complementary
#40CB7D #C340CB #CB4048
monochromatic
#1F7243 #2CA260 #40CB7D #70D89E #A0E5BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CB7D#FFFFFF#000000##000000
##40CB7D1.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)
#CBBB78
Deuteranopia (green-blind)
#B9AE82
Tritanopia (blue-blind)
#00C9B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb7d;
/* rgb */ color: rgb(64, 203, 125);
/* oklch */ color: oklch(74.9% 0.164 154.3);
Tailwind
colors: {
  custom: {
    50: '#86dca3',
    500: '#40cb7d',
    950: '#000000',
  },
}
SCSS
$custom: #40cb7d;
$custom-light: #86dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb7d",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 125
  },
  "hsl": {
    "h": 146.331,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.16359,
    "h": 154.3
  },
  "luminance": 0.45283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40CB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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