#40CC6F#40CC6F

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

Color values

HEX#40CC6F
RGBrgb(64, 204, 111)
HSLhsl(140, 58%, 53%)
HSVhsv(140, 69%, 80%)
CMYKcmyk(68.6%, 0%, 45.6%, 20%)
CIE-LABlab(73.17, -57.40, 35.67)
CIE-LCHlch(73.17, 67.58, 148.14°)
OKLaboklab(74.93% -0.1546 0.0875)
OKLCHoklch(74.93% 0.178 150.5)
XYZxyz(26.5743, 45.4205, 22.4024)
Luminance0.4542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC6F #CC409D
analogous
#57CC40 #40CC6F #40CCB5
triadic
#40CC6F #6F40CC #CC6F40
tetradic
#40CC6F #4057CC #CC409D #CCB540
square
#40CC6F #4057CC #CC409D #CCB540
split-complementary
#40CC6F #B540CC #CC4057
monochromatic
#1F733B #2CA354 #40CC6F #70D993 #A1E6B8

Accessibility & contrast

On white

2.08
#40CC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#40CC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC6F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC6F#FFFFFF#000000##000000
##40CC6F1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB68
Deuteranopia (green-blind)
#BCAF75
Tritanopia (blue-blind)
#00C9B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc6f;
/* rgb */ color: rgb(64, 204, 111);
/* oklch */ color: oklch(74.9% 0.178 150.5);
Tailwind
colors: {
  custom: {
    50: '#86dd99',
    500: '#40cc6f',
    950: '#000000',
  },
}
SCSS
$custom: #40cc6f;
$custom-light: #86dd99;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc6f",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 140.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74925,
    "c": 0.17766,
    "h": 150.5
  },
  "luminance": 0.45423
}

Semantic roles & 50–950 ramp

primary
#40CC6F
secondary
#D295BE
accent
#47ADE1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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