#40BF5D#40BF5D

#40BF5D is a light, vivid green. Relative luminance 0.391; OKLCH L 71.3% C 0.177 H 147.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#40BF5D
RGBrgb(64, 191, 93)
HSLhsl(134, 50%, 50%)
HSVhsv(134, 66%, 75%)
CMYKcmyk(66.5%, 0%, 51.3%, 25.1%)
CIE-LABlab(68.85, -55.44, 39.22)
CIE-LCHlch(68.85, 67.91, 144.72°)
OKLaboklab(71.28% -0.1495 0.0947)
OKLCHoklch(71.28% 0.177 147.7)
XYZxyz(22.7193, 39.1395, 16.7112)
Luminance0.3914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF5D #BF40A2
analogous
#62BF40 #40BF5D #40BF9D
triadic
#40BF5D #5D40BF #BF5D40
tetradic
#40BF5D #4062BF #BF40A2 #BF9D40
square
#40BF5D #4062BF #BF40A2 #BF9D40
split-complementary
#40BF5D #9D40BF #BF4062
monochromatic
#216330 #319147 #40BF5D #6ECE84 #9CDEAB

Accessibility & contrast

On white

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

On black

8.83
#40BF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF5D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF5D#FFFFFF#000000##000000
##40BF5D1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF55
Deuteranopia (green-blind)
#B1A464
Tritanopia (blue-blind)
#0FBBA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf5d;
/* rgb */ color: rgb(64, 191, 93);
/* oklch */ color: oklch(71.3% 0.177 147.7);
Tailwind
colors: {
  custom: {
    50: '#84d38d',
    500: '#40bf5d',
    950: '#000000',
  },
}
SCSS
$custom: #40bf5d;
$custom-light: #84d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf5d",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 133.701,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71283,
    "c": 0.17698,
    "h": 147.7
  },
  "luminance": 0.39142
}

Semantic roles & 50–950 ramp

primary
#40BF5D
secondary
#CA91BD
accent
#4EBAD9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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