#40CF7D#40CF7D

#40CF7D is a light, vivid green. Relative luminance 0.472; OKLCH L 75.9% C 0.169 H 153.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#40CF7D
RGBrgb(64, 207, 125)
HSLhsl(146, 60%, 53%)
HSVhsv(146, 69%, 81%)
CMYKcmyk(69.1%, 0%, 39.6%, 18.8%)
CIE-LABlab(74.31, -56.09, 30.02)
CIE-LCHlch(74.31, 63.62, 151.84°)
OKLaboklab(75.94% -0.1514 0.0747)
OKLCHoklch(75.94% 0.169 153.7)
XYZxyz(28.1264, 47.1932, 27.0249)
Luminance0.4720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF7D #CF4092
analogous
#4ACF40 #40CF7D #40CFC4
triadic
#40CF7D #7D40CF #CF7D40
tetradic
#40CF7D #404ACF #CF4092 #CFC440
square
#40CF7D #404ACF #CF4092 #CFC440
split-complementary
#40CF7D #C440CF #CF404A
monochromatic
#1E7744 #2AA860 #40CF7D #71DB9E #A2E8C0

Accessibility & contrast

On white

2.01
#40CF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#40CF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF7D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF7D#FFFFFF#000000##000000
##40CF7D1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE77
Deuteranopia (green-blind)
#BDB282
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf7d;
/* rgb */ color: rgb(64, 207, 125);
/* oklch */ color: oklch(75.9% 0.169 153.7);
Tailwind
colors: {
  custom: {
    50: '#86dfa3',
    500: '#40cf7d',
    950: '#000000',
  },
}
SCSS
$custom: #40cf7d;
$custom-light: #86dfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf7d",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 145.594,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7594,
    "c": 0.16883,
    "h": 153.7
  },
  "luminance": 0.47196
}

Semantic roles & 50–950 ramp

primary
#40CF7D
secondary
#D497BA
accent
#45A0E3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40CF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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