#40CB5E#40CB5E

#40CB5E is a light, vivid green. Relative luminance 0.446; OKLCH L 74.4% C 0.191 H 147.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#40CB5E
RGBrgb(64, 203, 94)
HSLhsl(133, 57%, 52%)
HSVhsv(133, 68%, 80%)
CMYKcmyk(68.5%, 0%, 53.7%, 20.4%)
CIE-LABlab(72.63, -59.60, 43.35)
CIE-LCHlch(72.63, 73.70, 143.97°)
OKLaboklab(74.41% -0.1607 0.1039)
OKLCHoklch(74.41% 0.191 147.1)
XYZxyz(25.4888, 44.6073, 17.8543)
Luminance0.4461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB5E #CB40AD
analogous
#67CB40 #40CB5E #40CBA4
triadic
#40CB5E #5E40CB #CB5E40
tetradic
#40CB5E #4067CB #CB40AD #CBA440
square
#40CB5E #4067CB #CB40AD #CBA440
split-complementary
#40CB5E #A440CB #CB4067
monochromatic
#1F7231 #2CA245 #40CB5E #70D887 #A0E5AF

Accessibility & contrast

On white

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

On black

9.92
#40CB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB5E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB5E#FFFFFF#000000##000000
##40CB5E1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB954
Deuteranopia (green-blind)
#BDAE66
Tritanopia (blue-blind)
#00C7B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb5e;
/* rgb */ color: rgb(64, 203, 94);
/* oklch */ color: oklch(74.4% 0.191 147.1);
Tailwind
colors: {
  custom: {
    50: '#86dc8e',
    500: '#40cb5e',
    950: '#000000',
  },
}
SCSS
$custom: #40cb5e;
$custom-light: #86dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb5e",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 94
  },
  "hsl": {
    "h": 132.95,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74411,
    "c": 0.19137,
    "h": 147.1
  },
  "luminance": 0.4461
}

Semantic roles & 50–950 ramp

primary
#40CB5E
secondary
#D295C5
accent
#47BFE0
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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