#40CC51#40CC51

#40CC51 is a light, highly saturated green. Relative luminance 0.449; OKLCH L 74.5% C 0.203 H 145.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#40CC51
RGBrgb(64, 204, 81)
HSLhsl(127, 58%, 53%)
HSVhsv(127, 69%, 80%)
CMYKcmyk(68.6%, 0%, 60.3%, 20%)
CIE-LABlab(72.80, -61.60, 49.55)
CIE-LCHlch(72.80, 79.06, 141.19°)
OKLaboklab(74.51% -0.1665 0.1165)
OKLCHoklch(74.51% 0.203 145)
XYZxyz(25.1908, 44.8671, 15.1156)
Luminance0.4487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC51 #CC40BB
analogous
#75CC40 #40CC51 #40CC97
triadic
#40CC51 #5140CC #CC5140
tetradic
#40CC51 #4075CC #CC40BB #CC9740
square
#40CC51 #4075CC #CC40BB #CC9740
split-complementary
#40CC51 #9740CC #CC4075
monochromatic
#1F7329 #2CA33A #40CC51 #70D97D #A1E6A9

Accessibility & contrast

On white

2.11
#40CC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#40CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC51
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC51#FFFFFF#000000##000000
##40CC511.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA44
Deuteranopia (green-blind)
#BFAE5B
Tritanopia (blue-blind)
#0BC7B2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc51;
/* rgb */ color: rgb(64, 204, 81);
/* oklch */ color: oklch(74.5% 0.203 145.0);
Tailwind
colors: {
  custom: {
    50: '#87dd86',
    500: '#40cc51',
    950: '#000000',
  },
}
SCSS
$custom: #40cc51;
$custom-light: #87dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc51",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 127.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74507,
    "c": 0.20321,
    "h": 145
  },
  "luminance": 0.4487
}

Semantic roles & 50–950 ramp

primary
#40CC51
secondary
#D295CB
accent
#47CEE1
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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