#40CC6C#40CC6C

#40CC6C is a light, vivid green. Relative luminance 0.454; OKLCH L 74.9% C 0.180 H 149.8°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#40CC6C
RGBrgb(64, 204, 108)
HSLhsl(139, 58%, 53%)
HSVhsv(139, 69%, 80%)
CMYKcmyk(68.6%, 0%, 47.1%, 20%)
CIE-LABlab(73.13, -57.88, 37.12)
CIE-LCHlch(73.13, 68.76, 147.33°)
OKLaboklab(74.88% -0.1559 0.0907)
OKLCHoklch(74.88% 0.18 149.8)
XYZxyz(26.4119, 45.3555, 21.5470)
Luminance0.4536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC6C #CC40A0
analogous
#5ACC40 #40CC6C #40CCB2
triadic
#40CC6C #6C40CC #CC6C40
tetradic
#40CC6C #405ACC #CC40A0 #CCB240
square
#40CC6C #405ACC #CC40A0 #CCB240
split-complementary
#40CC6C #B240CC #CC405A
monochromatic
#1F7339 #2CA351 #40CC6C #70D991 #A1E6B6

Accessibility & contrast

On white

2.09
#40CC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#40CC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC6C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC6C#FFFFFF#000000##000000
##40CC6C1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB64
Deuteranopia (green-blind)
#BCAF73
Tritanopia (blue-blind)
#00C8B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc6c;
/* rgb */ color: rgb(64, 204, 108);
/* oklch */ color: oklch(74.9% 0.180 149.8);
Tailwind
colors: {
  custom: {
    50: '#86dd97',
    500: '#40cc6c',
    950: '#000000',
  },
}
SCSS
$custom: #40cc6c;
$custom-light: #86dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc6c",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 108
  },
  "hsl": {
    "h": 138.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74876,
    "c": 0.18036,
    "h": 149.8
  },
  "luminance": 0.45358
}

Semantic roles & 50–950 ramp

primary
#40CC6C
secondary
#D295BF
accent
#47B1E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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