#40CF7F#40CF7F

#40CF7F is a light, vivid green. Relative luminance 0.472; OKLCH L 76.0% C 0.167 H 154.3°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#40CF7F
RGBrgb(64, 207, 127)
HSLhsl(146, 60%, 53%)
HSVhsv(146, 69%, 81%)
CMYKcmyk(69.1%, 0%, 38.6%, 18.8%)
CIE-LABlab(74.35, -55.72, 29.03)
CIE-LCHlch(74.35, 62.83, 152.48°)
OKLaboklab(75.98% -0.1505 0.0724)
OKLCHoklch(75.98% 0.167 154.3)
XYZxyz(28.2554, 47.2448, 27.7046)
Luminance0.4725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF7F #CF4090
analogous
#48CF40 #40CF7F #40CFC7
triadic
#40CF7F #7F40CF #CF7F40
tetradic
#40CF7F #4048CF #CF4090 #CFC740
square
#40CF7F #4048CF #CF4090 #CFC740
split-complementary
#40CF7F #C740CF #CF4048
monochromatic
#1E7745 #2AA861 #40CF7F #71DBA0 #A2E8C1

Accessibility & contrast

On white

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

On black

10.45
#40CF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF7F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF7F#FFFFFF#000000##000000
##40CF7F1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE7A
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf7f;
/* rgb */ color: rgb(64, 207, 127);
/* oklch */ color: oklch(76.0% 0.167 154.3);
Tailwind
colors: {
  custom: {
    50: '#86dfa5',
    500: '#40cf7f',
    950: '#000000',
  },
}
SCSS
$custom: #40cf7f;
$custom-light: #86dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf7f",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 146.434,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.16702,
    "h": 154.3
  },
  "luminance": 0.47248
}

Semantic roles & 50–950 ramp

primary
#40CF7F
secondary
#D497B9
accent
#459DE3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40CF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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