#40BE52#40BE52

#40BE52 is a light, vivid green. Relative luminance 0.385; OKLCH L 70.9% C 0.185 H 145.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#40BE52
RGBrgb(64, 190, 82)
HSLhsl(129, 50%, 50%)
HSVhsv(129, 66%, 75%)
CMYKcmyk(66.3%, 0%, 56.8%, 25.5%)
CIE-LABlab(68.40, -56.59, 43.97)
CIE-LCHlch(68.40, 71.67, 142.15°)
OKLaboklab(70.87% -0.1529 0.1045)
OKLCHoklch(70.87% 0.185 145.7)
XYZxyz(22.0493, 38.5238, 14.2548)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BE52 #BE40AC
analogous
#6DBE40 #40BE52 #40BE91
triadic
#40BE52 #5240BE #BE5240
tetradic
#40BE52 #406DBE #BE40AC #BE9140
square
#40BE52 #406DBE #BE40AC #BE9140
split-complementary
#40BE52 #9140BE #BE406D
monochromatic
#21622A #31903E #40BE52 #6DCE7B #9BDDA5

Accessibility & contrast

On white

2.41
#40BE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#40BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BE52
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BE52#FFFFFF#000000##000000
##40BE521.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#B2A35A
Tritanopia (blue-blind)
#19B9A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40be52;
/* rgb */ color: rgb(64, 190, 82);
/* oklch */ color: oklch(70.9% 0.185 145.7);
Tailwind
colors: {
  custom: {
    50: '#84d386',
    500: '#40be52',
    950: '#000000',
  },
}
SCSS
$custom: #40be52;
$custom-light: #84d386;
$custom-dark: #000000;
JSON
{
  "hex": "#40be52",
  "rgb": {
    "r": 64,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 128.571,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.1852,
    "h": 145.7
  },
  "luminance": 0.38526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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