#40CB5A#40CB5A

#40CB5A is a light, vivid green. Relative luminance 0.445; OKLCH L 74.4% C 0.195 H 146.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#40CB5A
RGBrgb(64, 203, 90)
HSLhsl(131, 57%, 52%)
HSVhsv(131, 68%, 80%)
CMYKcmyk(68.5%, 0%, 55.7%, 20.4%)
CIE-LABlab(72.59, -60.14, 45.18)
CIE-LCHlch(72.59, 75.22, 143.08°)
OKLaboklab(74.36% -0.1623 0.1077)
OKLCHoklch(74.36% 0.195 146.4)
XYZxyz(25.3140, 44.5373, 16.9334)
Luminance0.4454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB5A #CB40B1
analogous
#6CCB40 #40CB5A #40CBA0
triadic
#40CB5A #5A40CB #CB5A40
tetradic
#40CB5A #406CCB #CB40B1 #CBA040
square
#40CB5A #406CCB #CB40B1 #CBA040
split-complementary
#40CB5A #A040CB #CB406C
monochromatic
#1F722E #2CA242 #40CB5A #70D884 #A0E5AD

Accessibility & contrast

On white

2.12
#40CB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#40CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB5A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB5A#FFFFFF#000000##000000
##40CB5A1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94F
Deuteranopia (green-blind)
#BDAE63
Tritanopia (blue-blind)
#01C6B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb5a;
/* rgb */ color: rgb(64, 203, 90);
/* oklch */ color: oklch(74.4% 0.195 146.4);
Tailwind
colors: {
  custom: {
    50: '#86dc8b',
    500: '#40cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #40cb5a;
$custom-light: #86dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb5a",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 131.223,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74357,
    "c": 0.19475,
    "h": 146.4
  },
  "luminance": 0.4454
}

Semantic roles & 50–950 ramp

primary
#40CB5A
secondary
#D295C6
accent
#47C4E0
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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