#40BC51#40BC51

#40BC51 is a light, vivid green. Relative luminance 0.377; OKLCH L 70.3% C 0.184 H 145.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#40BC51
RGBrgb(64, 188, 81)
HSLhsl(128, 49%, 49%)
HSVhsv(128, 66%, 74%)
CMYKcmyk(66%, 0%, 56.9%, 26.3%)
CIE-LABlab(67.76, -56.00, 43.68)
CIE-LCHlch(67.76, 71.02, 142.05°)
OKLaboklab(70.34% -0.1514 0.1038)
OKLCHoklch(70.34% 0.184 145.6)
XYZxyz(21.5813, 37.6483, 13.9125)
Luminance0.3765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC51 #BC40AB
analogous
#6DBC40 #40BC51 #40BC8F
triadic
#40BC51 #5140BC #BC5140
tetradic
#40BC51 #406DBC #BC40AB #BC8F40
square
#40BC51 #406DBC #BC40AB #BC8F40
split-complementary
#40BC51 #8F40BC #BC406D
monochromatic
#21612A #308E3D #40BC51 #6CCD79 #9ADDA3

Accessibility & contrast

On white

2.46
#40BC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#40BC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC51
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC51#FFFFFF#000000##000000
##40BC511.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#1BB7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc51;
/* rgb */ color: rgb(64, 188, 81);
/* oklch */ color: oklch(70.3% 0.184 145.6);
Tailwind
colors: {
  custom: {
    50: '#84d185',
    500: '#40bc51',
    950: '#000000',
  },
}
SCSS
$custom: #40bc51;
$custom-light: #84d185;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc51",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 128.226,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70335,
    "c": 0.18352,
    "h": 145.6
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#40BC51
secondary
#C98FC1
accent
#4FC6D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC51

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

Preview Lab → · Contrast checker → · Palette generator →

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