#40CF79#40CF79

#40CF79 is a light, vivid green. Relative luminance 0.471; OKLCH L 75.9% C 0.172 H 152.6°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#40CF79
RGBrgb(64, 207, 121)
HSLhsl(144, 60%, 53%)
HSVhsv(144, 69%, 81%)
CMYKcmyk(69.1%, 0%, 41.5%, 18.8%)
CIE-LABlab(74.25, -56.80, 31.99)
CIE-LCHlch(74.25, 65.19, 150.61°)
OKLaboklab(75.87% -0.1532 0.0793)
OKLCHoklch(75.87% 0.172 152.6)
XYZxyz(27.8760, 47.0930, 25.7062)
Luminance0.4710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF79 #CF4096
analogous
#4ECF40 #40CF79 #40CFC0
triadic
#40CF79 #7940CF #CF7940
tetradic
#40CF79 #404ECF #CF4096 #CFC040
square
#40CF79 #404ECF #CF4096 #CFC040
split-complementary
#40CF79 #C040CF #CF404E
monochromatic
#1E7741 #2AA85C #40CF79 #71DB9B #A2E8BE

Accessibility & contrast

On white

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

On black

10.42
#40CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF79
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF79#FFFFFF#000000##000000
##40CF791.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40cf79;
/* rgb */ color: rgb(64, 207, 121);
/* oklch */ color: oklch(75.9% 0.172 152.6);
Tailwind
colors: {
  custom: {
    50: '#86dfa0',
    500: '#40cf79',
    950: '#000000',
  },
}
SCSS
$custom: #40cf79;
$custom-light: #86dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf79",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 143.916,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75866,
    "c": 0.17247,
    "h": 152.6
  },
  "luminance": 0.47096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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