#40CF78#40CF78

#40CF78 is a light, vivid green. Relative luminance 0.471; OKLCH L 75.8% C 0.173 H 152.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#40CF78
RGBrgb(64, 207, 120)
HSLhsl(143, 60%, 53%)
HSVhsv(143, 69%, 81%)
CMYKcmyk(69.1%, 0%, 42%, 18.8%)
CIE-LABlab(74.23, -56.98, 32.48)
CIE-LCHlch(74.23, 65.59, 150.31°)
OKLaboklab(75.85% -0.1536 0.0804)
OKLCHoklch(75.85% 0.173 152.4)
XYZxyz(27.8150, 47.0686, 25.3849)
Luminance0.4707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF78 #CF4097
analogous
#4FCF40 #40CF78 #40CFC0
triadic
#40CF78 #7840CF #CF7840
tetradic
#40CF78 #404FCF #CF4097 #CFC040
square
#40CF78 #404FCF #CF4097 #CFC040
split-complementary
#40CF78 #C040CF #CF404F
monochromatic
#1E7741 #2AA85B #40CF78 #71DB9B #A2E8BD

Accessibility & contrast

On white

2.02
#40CF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#40CF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF78
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF78#FFFFFF#000000##000000
##40CF781.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40cf78;
/* rgb */ color: rgb(64, 207, 120);
/* oklch */ color: oklch(75.8% 0.173 152.4);
Tailwind
colors: {
  custom: {
    50: '#86dfa0',
    500: '#40cf78',
    950: '#000000',
  },
}
SCSS
$custom: #40cf78;
$custom-light: #86dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf78",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 143.497,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75849,
    "c": 0.17338,
    "h": 152.4
  },
  "luminance": 0.47072
}

Semantic roles & 50–950 ramp

primary
#40CF78
secondary
#D497BC
accent
#45A5E3
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150F
muted
#7D837E

Preview Lab

Preview with #40CF78

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

Preview Lab → · Contrast checker → · Palette generator →

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