#40CF6A#40CF6A

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

Color values

HEX#40CF6A
RGBrgb(64, 207, 106)
HSLhsl(138, 60%, 53%)
HSVhsv(138, 69%, 81%)
CMYKcmyk(69.1%, 0%, 48.8%, 18.8%)
CIE-LABlab(74.03, -59.28, 39.25)
CIE-LCHlch(74.03, 71.09, 146.49°)
OKLaboklab(75.62% -0.1596 0.0954)
OKLCHoklch(75.62% 0.186 149.1)
XYZxyz(27.0266, 46.7533, 21.2328)
Luminance0.4676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF6A #CF40A5
analogous
#5DCF40 #40CF6A #40CFB1
triadic
#40CF6A #6A40CF #CF6A40
tetradic
#40CF6A #405DCF #CF40A5 #CFB140
square
#40CF6A #405DCF #CF40A5 #CFB140
split-complementary
#40CF6A #B140CF #CF405D
monochromatic
#1E7738 #2AA84F #40CF6A #71DB90 #A2E8B6

Accessibility & contrast

On white

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

On black

10.35
#40CF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF6A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF6A#FFFFFF#000000##000000
##40CF6A1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD62
Deuteranopia (green-blind)
#BFB171
Tritanopia (blue-blind)
#00CBB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cf6a;
/* rgb */ color: rgb(64, 207, 106);
/* oklch */ color: oklch(75.6% 0.186 149.1);
Tailwind
colors: {
  custom: {
    50: '#87df96',
    500: '#40cf6a',
    950: '#000000',
  },
}
SCSS
$custom: #40cf6a;
$custom-light: #87df96;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf6a",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 106
  },
  "hsl": {
    "h": 137.622,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75616,
    "c": 0.18598,
    "h": 149.1
  },
  "luminance": 0.46756
}

Semantic roles & 50–950 ramp

primary
#40CF6A
secondary
#D497C2
accent
#45B5E3
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40CF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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