#40BF52#40BF52

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

Color values

HEX#40BF52
RGBrgb(64, 191, 82)
HSLhsl(129, 50%, 50%)
HSVhsv(129, 66%, 75%)
CMYKcmyk(66.5%, 0%, 57.1%, 25.1%)
CIE-LABlab(68.72, -56.95, 44.35)
CIE-LCHlch(68.72, 72.18, 142.09°)
OKLaboklab(71.13% -0.1539 0.1053)
OKLCHoklch(71.13% 0.186 145.6)
XYZxyz(22.2667, 38.9585, 14.3273)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF52 #BF40AD
analogous
#6DBF40 #40BF52 #40BF92
triadic
#40BF52 #5240BF #BF5240
tetradic
#40BF52 #406DBF #BF40AD #BF9240
square
#40BF52 #406DBF #BF40AD #BF9240
split-complementary
#40BF52 #9240BF #BF406D
monochromatic
#21632B #31913E #40BF52 #6ECE7C #9CDEA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BF52#FFFFFF#000000##000000
##40BF521.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)
#C2AE47
Deuteranopia (green-blind)
#B3A35B
Tritanopia (blue-blind)
#18BAA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf52;
/* rgb */ color: rgb(64, 191, 82);
/* oklch */ color: oklch(71.1% 0.186 145.6);
Tailwind
colors: {
  custom: {
    50: '#84d386',
    500: '#40bf52',
    950: '#000000',
  },
}
SCSS
$custom: #40bf52;
$custom-light: #84d386;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf52",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 128.504,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.18645,
    "h": 145.6
  },
  "luminance": 0.38961
}

Semantic roles & 50–950 ramp

primary
#40BF52
secondary
#CA91C2
accent
#4EC6D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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