#40BF7D#40BF7D

#40BF7D is a light, vivid green. Relative luminance 0.398; OKLCH L 71.9% C 0.148 H 156.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#40BF7D
RGBrgb(64, 191, 125)
HSLhsl(149, 50%, 50%)
HSVhsv(149, 66%, 75%)
CMYKcmyk(66.5%, 0%, 34.6%, 25.1%)
CIE-LABlab(69.35, -49.91, 23.39)
CIE-LCHlch(69.35, 55.12, 154.89°)
OKLaboklab(71.85% -0.1354 0.0589)
OKLCHoklch(71.85% 0.148 156.5)
XYZxyz(24.4446, 39.8296, 25.7977)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF7D #BF4082
analogous
#42BF40 #40BF7D #40BFBD
triadic
#40BF7D #7D40BF #BF7D40
tetradic
#40BF7D #4042BF #BF4082 #BFBD40
square
#40BF7D #4042BF #BF4082 #BFBD40
split-complementary
#40BF7D #BD40BF #BF4042
monochromatic
#216341 #31915F #40BF7D #6ECE9C #9CDEBB

Accessibility & contrast

On white

2.34
#40BF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#40BF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF7D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF7D#FFFFFF#000000##000000
##40BF7D1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB079
Deuteranopia (green-blind)
#ADA581
Tritanopia (blue-blind)
#00BDAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40bf7d;
/* rgb */ color: rgb(64, 191, 125);
/* oklch */ color: oklch(71.9% 0.148 156.5);
Tailwind
colors: {
  custom: {
    50: '#83d3a3',
    500: '#40bf7d',
    950: '#000000',
  },
}
SCSS
$custom: #40bf7d;
$custom-light: #83d3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf7d",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 125
  },
  "hsl": {
    "h": 148.819,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71854,
    "c": 0.14762,
    "h": 156.5
  },
  "luminance": 0.39832
}

Semantic roles & 50–950 ramp

primary
#40BF7D
secondary
#CA91AF
accent
#4E97D9
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40BF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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