#40BA52#40BA52

#40BA52 is a light, vivid green. Relative luminance 0.368; OKLCH L 69.8% C 0.180 H 145.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40BA52
RGBrgb(64, 186, 82)
HSLhsl(129, 49%, 49%)
HSVhsv(129, 66%, 73%)
CMYKcmyk(65.6%, 0%, 55.9%, 27.1%)
CIE-LABlab(67.14, -55.15, 42.47)
CIE-LCHlch(67.14, 69.61, 142.40°)
OKLaboklab(69.82% -0.149 0.1012)
OKLCHoklch(69.82% 0.18 145.8)
XYZxyz(21.1948, 36.8148, 13.9700)
Luminance0.3682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA52 #BA40A8
analogous
#6BBA40 #40BA52 #40BA8F
triadic
#40BA52 #5240BA #BA5240
tetradic
#40BA52 #406BBA #BA40A8 #BA8F40
square
#40BA52 #406BBA #BA40A8 #BA8F40
split-complementary
#40BA52 #8F40BA #BA406B
monochromatic
#215F2A #308C3E #40BA52 #6BCC79 #99DCA3

Accessibility & contrast

On white

2.51
#40BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#40BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA52
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA52#FFFFFF#000000##000000
##40BA521.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#AE9F5A
Tritanopia (blue-blind)
#1CB6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba52;
/* rgb */ color: rgb(64, 186, 82);
/* oklch */ color: oklch(69.8% 0.180 145.8);
Tailwind
colors: {
  custom: {
    50: '#83d085',
    500: '#40ba52',
    950: '#000000',
  },
}
SCSS
$custom: #40ba52;
$custom-light: #83d085;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba52",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 128.852,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.18014,
    "h": 145.8
  },
  "luminance": 0.36817
}

Semantic roles & 50–950 ramp

primary
#40BA52
secondary
#C88EBF
accent
#4FC4D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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