#40BF7E#40BF7E

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

Color values

HEX#40BF7E
RGBrgb(64, 191, 126)
HSLhsl(149, 50%, 50%)
HSVhsv(149, 66%, 75%)
CMYKcmyk(66.5%, 0%, 34%, 25.1%)
CIE-LABlab(69.37, -49.71, 22.89)
CIE-LCHlch(69.37, 54.73, 155.28°)
OKLaboklab(71.88% -0.1349 0.0577)
OKLCHoklch(71.88% 0.147 156.9)
XYZxyz(24.5088, 39.8553, 26.1358)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF7E #BF4081
analogous
#42BF40 #40BF7E #40BFBD
triadic
#40BF7E #7E40BF #BF7E40
tetradic
#40BF7E #4042BF #BF4081 #BFBD40
square
#40BF7E #4042BF #BF4081 #BFBD40
split-complementary
#40BF7E #BD40BF #BF4042
monochromatic
#216342 #319160 #40BF7E #6ECE9D #9CDEBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BF7E#FFFFFF#000000##000000
##40BF7E1.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)
#BEB07A
Deuteranopia (green-blind)
#ADA582
Tritanopia (blue-blind)
#00BDAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40bf7e;
/* rgb */ color: rgb(64, 191, 126);
/* oklch */ color: oklch(71.9% 0.147 156.9);
Tailwind
colors: {
  custom: {
    50: '#83d3a3',
    500: '#40bf7e',
    950: '#000000',
  },
}
SCSS
$custom: #40bf7e;
$custom-light: #83d3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf7e",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 126
  },
  "hsl": {
    "h": 149.291,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.14671,
    "h": 156.9
  },
  "luminance": 0.39858
}

Semantic roles & 50–950 ramp

primary
#40BF7E
secondary
#CA91AE
accent
#4E96D9
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40BF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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