#40BF5F#40BF5F

#40BF5F is a light, vivid green. Relative luminance 0.392; OKLCH L 71.3% C 0.175 H 148.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#40BF5F
RGBrgb(64, 191, 95)
HSLhsl(135, 50%, 50%)
HSVhsv(135, 66%, 75%)
CMYKcmyk(66.5%, 0%, 50.3%, 25.1%)
CIE-LABlab(68.88, -55.14, 38.26)
CIE-LCHlch(68.88, 67.11, 145.24°)
OKLaboklab(71.31% -0.1487 0.0927)
OKLCHoklch(71.31% 0.175 148.1)
XYZxyz(22.8090, 39.1754, 17.1838)
Luminance0.3918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF5F #BF40A0
analogous
#60BF40 #40BF5F #40BF9F
triadic
#40BF5F #5F40BF #BF5F40
tetradic
#40BF5F #4060BF #BF40A0 #BF9F40
square
#40BF5F #4060BF #BF40A0 #BF9F40
split-complementary
#40BF5F #9F40BF #BF4060
monochromatic
#216331 #319148 #40BF5F #6ECE85 #9CDEAC

Accessibility & contrast

On white

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

On black

8.84
#40BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF5F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF5F#FFFFFF#000000##000000
##40BF5F1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF57
Deuteranopia (green-blind)
#B1A466
Tritanopia (blue-blind)
#0DBBA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf5f;
/* rgb */ color: rgb(64, 191, 95);
/* oklch */ color: oklch(71.3% 0.175 148.1);
Tailwind
colors: {
  custom: {
    50: '#84d38e',
    500: '#40bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #40bf5f;
$custom-light: #84d38e;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf5f",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 134.646,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.17521,
    "h": 148.1
  },
  "luminance": 0.39178
}

Semantic roles & 50–950 ramp

primary
#40BF5F
secondary
#CA91BC
accent
#4EB7D9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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