#40BF57#40BF57

#40BF57 is a light, vivid green. Relative luminance 0.390; OKLCH L 71.2% C 0.182 H 146.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#40BF57
RGBrgb(64, 191, 87)
HSLhsl(131, 50%, 50%)
HSVhsv(131, 66%, 75%)
CMYKcmyk(66.5%, 0%, 54.5%, 25.1%)
CIE-LABlab(68.78, -56.29, 42.04)
CIE-LCHlch(68.78, 70.25, 143.24°)
OKLaboklab(71.2% -0.1519 0.1006)
OKLCHoklch(71.2% 0.182 146.5)
XYZxyz(22.4639, 39.0374, 15.3661)
Luminance0.3904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF57 #BF40A8
analogous
#69BF40 #40BF57 #40BF96
triadic
#40BF57 #5740BF #BF5740
tetradic
#40BF57 #4069BF #BF40A8 #BF9640
square
#40BF57 #4069BF #BF40A8 #BF9640
split-complementary
#40BF57 #9640BF #BF4069
monochromatic
#21632D #319142 #40BF57 #6ECE7F #9CDEA8

Accessibility & contrast

On white

2.38
#40BF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#40BF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF57
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF57#FFFFFF#000000##000000
##40BF571.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4D
Deuteranopia (green-blind)
#B2A45F
Tritanopia (blue-blind)
#15BBA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf57;
/* rgb */ color: rgb(64, 191, 87);
/* oklch */ color: oklch(71.2% 0.182 146.5);
Tailwind
colors: {
  custom: {
    50: '#84d389',
    500: '#40bf57',
    950: '#000000',
  },
}
SCSS
$custom: #40bf57;
$custom-light: #84d389;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf57",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 130.866,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.18223,
    "h": 146.5
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#40BF57
secondary
#CA91C0
accent
#4EC0D9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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