#40CF6C#40CF6C

#40CF6C is a light, vivid green. Relative luminance 0.468; OKLCH L 75.6% C 0.184 H 149.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#40CF6C
RGBrgb(64, 207, 108)
HSLhsl(138, 60%, 53%)
HSVhsv(138, 69%, 81%)
CMYKcmyk(69.1%, 0%, 47.8%, 18.8%)
CIE-LABlab(74.06, -58.97, 38.29)
CIE-LCHlch(74.06, 70.31, 147.00°)
OKLaboklab(75.65% -0.1588 0.0934)
OKLCHoklch(75.65% 0.184 149.6)
XYZxyz(27.1318, 46.7954, 21.7870)
Luminance0.4680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF6C #CF40A3
analogous
#5BCF40 #40CF6C #40CFB4
triadic
#40CF6C #6C40CF #CF6C40
tetradic
#40CF6C #405BCF #CF40A3 #CFB440
square
#40CF6C #405BCF #CF40A3 #CFB440
split-complementary
#40CF6C #B440CF #CF405B
monochromatic
#1E7739 #2AA851 #40CF6C #71DB92 #A2E8B7

Accessibility & contrast

On white

2.03
#40CF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#40CF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF6C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF6C#FFFFFF#000000##000000
##40CF6C1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD64
Deuteranopia (green-blind)
#BFB173
Tritanopia (blue-blind)
#00CBB8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cf6c;
/* rgb */ color: rgb(64, 207, 108);
/* oklch */ color: oklch(75.6% 0.184 149.6);
Tailwind
colors: {
  custom: {
    50: '#87df98',
    500: '#40cf6c',
    950: '#000000',
  },
}
SCSS
$custom: #40cf6c;
$custom-light: #87df98;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf6c",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 108
  },
  "hsl": {
    "h": 138.462,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.18421,
    "h": 149.6
  },
  "luminance": 0.46798
}

Semantic roles & 50–950 ramp

primary
#40CF6C
secondary
#D497C1
accent
#45B2E3
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150E
muted
#7D837E

Preview Lab

Preview with #40CF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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