#40BB52#40BB52

#40BB52 is a light, vivid green. Relative luminance 0.372; OKLCH L 70.1% C 0.181 H 145.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#40BB52
RGBrgb(64, 187, 82)
HSLhsl(129, 49%, 49%)
HSVhsv(129, 66%, 73%)
CMYKcmyk(65.8%, 0%, 56.1%, 26.7%)
CIE-LABlab(67.45, -55.51, 42.85)
CIE-LCHlch(67.45, 70.12, 142.34°)
OKLaboklab(70.09% -0.15 0.102)
OKLCHoklch(70.09% 0.181 145.8)
XYZxyz(21.4062, 37.2376, 14.0405)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB52 #BB40A9
analogous
#6CBB40 #40BB52 #40BB8F
triadic
#40BB52 #5240BB #BB5240
tetradic
#40BB52 #406CBB #BB40A9 #BB8F40
square
#40BB52 #406CBB #BB40A9 #BB8F40
split-complementary
#40BB52 #8F40BB #BB406C
monochromatic
#21602A #308D3E #40BB52 #6CCD7A #99DCA3

Accessibility & contrast

On white

2.49
#40BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#40BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB52
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB52#FFFFFF#000000##000000
##40BB521.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#AFA05A
Tritanopia (blue-blind)
#1BB7A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb52;
/* rgb */ color: rgb(64, 187, 82);
/* oklch */ color: oklch(70.1% 0.181 145.8);
Tailwind
colors: {
  custom: {
    50: '#83d085',
    500: '#40bb52',
    950: '#000000',
  },
}
SCSS
$custom: #40bb52;
$custom-light: #83d085;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb52",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 128.78,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70086,
    "c": 0.18141,
    "h": 145.8
  },
  "luminance": 0.3724
}

Semantic roles & 50–950 ramp

primary
#40BB52
secondary
#C88FC0
accent
#4FC4D9
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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