#40BF54#40BF54

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

Color values

HEX#40BF54
RGBrgb(64, 191, 84)
HSLhsl(129, 50%, 50%)
HSVhsv(129, 66%, 75%)
CMYKcmyk(66.5%, 0%, 56%, 25.1%)
CIE-LABlab(68.74, -56.69, 43.43)
CIE-LCHlch(68.74, 71.41, 142.54°)
OKLaboklab(71.16% -0.1531 0.1034)
OKLCHoklch(71.16% 0.185 146)
XYZxyz(22.3439, 38.9893, 14.7340)
Luminance0.3899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF54 #BF40AB
analogous
#6BBF40 #40BF54 #40BF94
triadic
#40BF54 #5440BF #BF5440
tetradic
#40BF54 #406BBF #BF40AB #BF9440
square
#40BF54 #406BBF #BF40AB #BF9440
split-complementary
#40BF54 #9440BF #BF406B
monochromatic
#21632C #319140 #40BF54 #6ECE7D #9CDEA6

Accessibility & contrast

On white

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

On black

8.80
#40BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF54
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF54#FFFFFF#000000##000000
##40BF541.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4A
Deuteranopia (green-blind)
#B2A45C
Tritanopia (blue-blind)
#17BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf54;
/* rgb */ color: rgb(64, 191, 84);
/* oklch */ color: oklch(71.2% 0.185 146.0);
Tailwind
colors: {
  custom: {
    50: '#84d387',
    500: '#40bf54',
    950: '#000000',
  },
}
SCSS
$custom: #40bf54;
$custom-light: #84d387;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf54",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 129.449,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71158,
    "c": 0.18479,
    "h": 146
  },
  "luminance": 0.38992
}

Semantic roles & 50–950 ramp

primary
#40BF54
secondary
#CA91C1
accent
#4EC3D9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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