#40BC5A#40BC5A

#40BC5A is a light, vivid green. Relative luminance 0.378; OKLCH L 70.5% C 0.176 H 147.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#40BC5A
RGBrgb(64, 188, 90)
HSLhsl(133, 49%, 49%)
HSVhsv(133, 66%, 74%)
CMYKcmyk(66%, 0%, 52.1%, 26.3%)
CIE-LABlab(67.87, -54.77, 39.48)
CIE-LCHlch(67.87, 67.52, 144.22°)
OKLaboklab(70.46% -0.1478 0.0951)
OKLCHoklch(70.46% 0.176 147.2)
XYZxyz(21.9415, 37.7923, 15.8092)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC5A #BC40A2
analogous
#64BC40 #40BC5A #40BC98
triadic
#40BC5A #5A40BC #BC5A40
tetradic
#40BC5A #4064BC #BC40A2 #BC9840
square
#40BC5A #4064BC #BC40A2 #BC9840
split-complementary
#40BC5A #9840BC #BC4064
monochromatic
#21612E #308E44 #40BC5A #6CCD80 #9ADDA8

Accessibility & contrast

On white

2.45
#40BC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#40BC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC5A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC5A#FFFFFF#000000##000000
##40BC5A1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC51
Deuteranopia (green-blind)
#AFA161
Tritanopia (blue-blind)
#15B8A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc5a;
/* rgb */ color: rgb(64, 188, 90);
/* oklch */ color: oklch(70.5% 0.176 147.2);
Tailwind
colors: {
  custom: {
    50: '#83d18b',
    500: '#40bc5a',
    950: '#000000',
  },
}
SCSS
$custom: #40bc5a;
$custom-light: #83d18b;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc5a",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 132.581,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70458,
    "c": 0.17576,
    "h": 147.2
  },
  "luminance": 0.37795
}

Semantic roles & 50–950 ramp

primary
#40BC5A
secondary
#C98FBD
accent
#4FBCD9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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