#40BC5B#40BC5B

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

Color values

HEX#40BC5B
RGBrgb(64, 188, 91)
HSLhsl(133, 49%, 49%)
HSVhsv(133, 66%, 74%)
CMYKcmyk(66%, 0%, 51.6%, 26.3%)
CIE-LABlab(67.88, -54.63, 39.00)
CIE-LCHlch(67.88, 67.12, 144.47°)
OKLaboklab(70.47% -0.1474 0.0941)
OKLCHoklch(70.47% 0.175 147.4)
XYZxyz(21.9843, 37.8095, 16.0349)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC5B #BC40A1
analogous
#63BC40 #40BC5B #40BC99
triadic
#40BC5B #5B40BC #BC5B40
tetradic
#40BC5B #4063BC #BC40A1 #BC9940
square
#40BC5B #4063BC #BC40A1 #BC9940
split-complementary
#40BC5B #9940BC #BC4063
monochromatic
#21612F #308E45 #40BC5B #6CCD81 #9ADDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC5B#FFFFFF#000000##000000
##40BC5B1.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)
#BEAC53
Deuteranopia (green-blind)
#AFA162
Tritanopia (blue-blind)
#14B8A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc5b;
/* rgb */ color: rgb(64, 188, 91);
/* oklch */ color: oklch(70.5% 0.175 147.4);
Tailwind
colors: {
  custom: {
    50: '#83d18b',
    500: '#40bc5b',
    950: '#000000',
  },
}
SCSS
$custom: #40bc5b;
$custom-light: #83d18b;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc5b",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 133.065,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.17487,
    "h": 147.4
  },
  "luminance": 0.37812
}

Semantic roles & 50–950 ramp

primary
#40BC5B
secondary
#C98FBC
accent
#4FBBD9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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