#40BC7D#40BC7D

#40BC7D is a light, vivid green. Relative luminance 0.385; OKLCH L 71.1% C 0.144 H 157.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#40BC7D
RGBrgb(64, 188, 125)
HSLhsl(150, 49%, 49%)
HSVhsv(150, 66%, 74%)
CMYKcmyk(66%, 0%, 33.5%, 26.3%)
CIE-LABlab(68.41, -48.71, 22.13)
CIE-LCHlch(68.41, 53.50, 155.57°)
OKLaboklab(71.09% -0.1323 0.0558)
OKLCHoklch(71.09% 0.144 157.1)
XYZxyz(23.7970, 38.5346, 25.5818)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC7D #BC407F
analogous
#41BC40 #40BC7D #40BCBB
triadic
#40BC7D #7D40BC #BC7D40
tetradic
#40BC7D #4041BC #BC407F #BCBB40
square
#40BC7D #4041BC #BC407F #BCBB40
split-complementary
#40BC7D #BB40BC #BC4041
monochromatic
#216140 #308E5F #40BC7D #6CCD9C #9ADDBB

Accessibility & contrast

On white

2.41
#40BC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#40BC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC7D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC7D#FFFFFF#000000##000000
##40BC7D1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAE79
Deuteranopia (green-blind)
#ABA281
Tritanopia (blue-blind)
#00BBAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bc7d;
/* rgb */ color: rgb(64, 188, 125);
/* oklch */ color: oklch(71.1% 0.144 157.1);
Tailwind
colors: {
  custom: {
    50: '#83d1a3',
    500: '#40bc7d',
    950: '#000000',
  },
}
SCSS
$custom: #40bc7d;
$custom-light: #83d1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc7d",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 125
  },
  "hsl": {
    "h": 149.516,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71086,
    "c": 0.14358,
    "h": 157.1
  },
  "luminance": 0.38537
}

Semantic roles & 50–950 ramp

primary
#40BC7D
secondary
#C98FAC
accent
#4F95D9
background
#F8FCFA
surface
#F0F9F3
border
#CBD2CD
text
#0C140F
muted
#7D827F

Preview Lab

Preview with #40BC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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