#40BF50#40BF50

#40BF50 is a light, vivid green. Relative luminance 0.389; OKLCH L 71.1% C 0.188 H 145.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#40BF50
RGBrgb(64, 191, 80)
HSLhsl(128, 50%, 50%)
HSVhsv(128, 66%, 75%)
CMYKcmyk(66.5%, 0%, 58.1%, 25.1%)
CIE-LABlab(68.70, -57.20, 45.25)
CIE-LCHlch(68.70, 72.93, 141.65°)
OKLaboklab(71.11% -0.1546 0.1071)
OKLCHoklch(71.11% 0.188 145.3)
XYZxyz(22.1917, 38.9285, 13.9323)
Luminance0.3893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF50 #BF40AF
analogous
#70BF40 #40BF50 #40BF8F
triadic
#40BF50 #5040BF #BF5040
tetradic
#40BF50 #4070BF #BF40AF #BF8F40
square
#40BF50 #4070BF #BF40AF #BF8F40
split-complementary
#40BF50 #8F40BF #BF4070
monochromatic
#21632A #31913D #40BF50 #6ECE7A #9CDEA4

Accessibility & contrast

On white

2.39
#40BF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#40BF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF50
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF50#FFFFFF#000000##000000
##40BF501.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE45
Deuteranopia (green-blind)
#B3A359
Tritanopia (blue-blind)
#1ABAA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf50;
/* rgb */ color: rgb(64, 191, 80);
/* oklch */ color: oklch(71.1% 0.188 145.3);
Tailwind
colors: {
  custom: {
    50: '#84d384',
    500: '#40bf50',
    950: '#000000',
  },
}
SCSS
$custom: #40bf50;
$custom-light: #84d384;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf50",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 127.559,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.18811,
    "h": 145.3
  },
  "luminance": 0.38931
}

Semantic roles & 50–950 ramp

primary
#40BF50
secondary
#CA91C3
accent
#4EC8D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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