#40CB57#40CB57

#40CB57 is a light, vivid green. Relative luminance 0.445; OKLCH L 74.3% C 0.197 H 145.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#40CB57
RGBrgb(64, 203, 87)
HSLhsl(130, 57%, 52%)
HSVhsv(130, 68%, 80%)
CMYKcmyk(68.5%, 0%, 57.1%, 20.4%)
CIE-LABlab(72.55, -60.53, 46.54)
CIE-LCHlch(72.55, 76.35, 142.45°)
OKLaboklab(74.32% -0.1634 0.1104)
OKLCHoklch(74.32% 0.197 145.9)
XYZxyz(25.1889, 44.4873, 16.2744)
Luminance0.4449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB57 #CB40B4
analogous
#6FCB40 #40CB57 #40CB9D
triadic
#40CB57 #5740CB #CB5740
tetradic
#40CB57 #406FCB #CB40B4 #CB9D40
square
#40CB57 #406FCB #CB40B4 #CB9D40
split-complementary
#40CB57 #9D40CB #CB406F
monochromatic
#1F722D #2CA240 #40CB57 #70D881 #A0E5AC

Accessibility & contrast

On white

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

On black

9.90
#40CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB57
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB57#FFFFFF#000000##000000
##40CB571.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94C
Deuteranopia (green-blind)
#BDAD60
Tritanopia (blue-blind)
#05C6B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb57;
/* rgb */ color: rgb(64, 203, 87);
/* oklch */ color: oklch(74.3% 0.197 145.9);
Tailwind
colors: {
  custom: {
    50: '#86dc8a',
    500: '#40cb57',
    950: '#000000',
  },
}
SCSS
$custom: #40cb57;
$custom-light: #86dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb57",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 129.928,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.19722,
    "h": 145.9
  },
  "luminance": 0.4449
}

Semantic roles & 50–950 ramp

primary
#40CB57
secondary
#D295C8
accent
#47C7E0
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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