#40BC52#40BC52

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

Color values

HEX#40BC52
RGBrgb(64, 188, 82)
HSLhsl(129, 49%, 49%)
HSVhsv(129, 66%, 74%)
CMYKcmyk(66%, 0%, 56.4%, 26.3%)
CIE-LABlab(67.77, -55.87, 43.22)
CIE-LCHlch(67.77, 70.64, 142.28°)
OKLaboklab(70.35% -0.151 0.1028)
OKLCHoklch(70.35% 0.183 145.7)
XYZxyz(21.6191, 37.6634, 14.1114)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC52 #BC40AA
analogous
#6CBC40 #40BC52 #40BC90
triadic
#40BC52 #5240BC #BC5240
tetradic
#40BC52 #406CBC #BC40AA #BC9040
square
#40BC52 #406CBC #BC40AA #BC9040
split-complementary
#40BC52 #9040BC #BC406C
monochromatic
#21612A #308E3E #40BC52 #6CCD7A #9ADDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC52#FFFFFF#000000##000000
##40BC521.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)
#BFAB48
Deuteranopia (green-blind)
#B0A15A
Tritanopia (blue-blind)
#1BB8A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc52;
/* rgb */ color: rgb(64, 188, 82);
/* oklch */ color: oklch(70.3% 0.183 145.7);
Tailwind
colors: {
  custom: {
    50: '#84d185',
    500: '#40bc52',
    950: '#000000',
  },
}
SCSS
$custom: #40bc52;
$custom-light: #84d185;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc52",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 128.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70348,
    "c": 0.18268,
    "h": 145.7
  },
  "luminance": 0.37666
}

Semantic roles & 50–950 ramp

primary
#40BC52
secondary
#C98FC0
accent
#4FC5D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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