#40CC6B#40CC6B

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

Color values

HEX#40CC6B
RGBrgb(64, 204, 107)
HSLhsl(138, 58%, 53%)
HSVhsv(138, 69%, 80%)
CMYKcmyk(68.6%, 0%, 47.5%, 20%)
CIE-LABlab(73.11, -58.04, 37.60)
CIE-LCHlch(73.11, 69.15, 147.07°)
OKLaboklab(74.86% -0.1563 0.0917)
OKLCHoklch(74.86% 0.181 149.6)
XYZxyz(26.3590, 45.3344, 21.2683)
Luminance0.4534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC6B #CC40A1
analogous
#5BCC40 #40CC6B #40CCB1
triadic
#40CC6B #6B40CC #CC6B40
tetradic
#40CC6B #405BCC #CC40A1 #CCB140
square
#40CC6B #405BCC #CC40A1 #CCB140
split-complementary
#40CC6B #B140CC #CC405B
monochromatic
#1F7339 #2CA350 #40CC6B #70D990 #A1E6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CC6B#FFFFFF#000000##000000
##40CC6B1.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)
#CDBB63
Deuteranopia (green-blind)
#BCAF72
Tritanopia (blue-blind)
#00C8B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc6b;
/* rgb */ color: rgb(64, 204, 107);
/* oklch */ color: oklch(74.9% 0.181 149.6);
Tailwind
colors: {
  custom: {
    50: '#86dd97',
    500: '#40cc6b',
    950: '#000000',
  },
}
SCSS
$custom: #40cc6b;
$custom-light: #86dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc6b",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 107
  },
  "hsl": {
    "h": 138.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7486,
    "c": 0.18125,
    "h": 149.6
  },
  "luminance": 0.45337
}

Semantic roles & 50–950 ramp

primary
#40CC6B
secondary
#D295C0
accent
#47B2E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150D
muted
#7D837E

Preview Lab

Preview with #40CC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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