#40CB51#40CB51

#40CB51 is a light, highly saturated green. Relative luminance 0.444; OKLCH L 74.2% C 0.202 H 145.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#40CB51
RGBrgb(64, 203, 81)
HSLhsl(127, 57%, 52%)
HSVhsv(127, 68%, 80%)
CMYKcmyk(68.5%, 0%, 60.1%, 20.4%)
CIE-LABlab(72.49, -61.26, 49.19)
CIE-LCHlch(72.49, 78.57, 141.24°)
OKLaboklab(74.25% -0.1656 0.1157)
OKLCHoklch(74.25% 0.202 145.1)
XYZxyz(24.9538, 44.3933, 15.0367)
Luminance0.4440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB51 #CB40BA
analogous
#75CB40 #40CB51 #40CB96
triadic
#40CB51 #5140CB #CB5140
tetradic
#40CB51 #4075CB #CB40BA #CB9640
square
#40CB51 #4075CB #CB40BA #CB9640
split-complementary
#40CB51 #9640CB #CB4075
monochromatic
#1F7229 #2CA23A #40CB51 #70D87D #A0E5A9

Accessibility & contrast

On white

2.13
#40CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#40CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB51
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB51#FFFFFF#000000##000000
##40CB511.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB944
Deuteranopia (green-blind)
#BEAD5B
Tritanopia (blue-blind)
#0CC6B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb51;
/* rgb */ color: rgb(64, 203, 81);
/* oklch */ color: oklch(74.2% 0.202 145.1);
Tailwind
colors: {
  custom: {
    50: '#87dc86',
    500: '#40cb51',
    950: '#000000',
  },
}
SCSS
$custom: #40cb51;
$custom-light: #87dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb51",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 127.338,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74247,
    "c": 0.20201,
    "h": 145.1
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#40CB51
secondary
#D295CA
accent
#47CEE0
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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