#40C759#40C759

#40C759 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.191 H 146.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#40C759
RGBrgb(64, 199, 89)
HSLhsl(131, 55%, 52%)
HSVhsv(131, 68%, 78%)
CMYKcmyk(67.8%, 0%, 55.3%, 22%)
CIE-LABlab(71.32, -58.87, 44.14)
CIE-LCHlch(71.32, 73.58, 143.14°)
OKLaboklab(73.31% -0.1589 0.1054)
OKLCHoklch(73.31% 0.191 146.4)
XYZxyz(24.3392, 42.6555, 16.3999)
Luminance0.4266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C759 #C740AE
analogous
#6BC740 #40C759 #40C79D
triadic
#40C759 #5940C7 #C75940
tetradic
#40C759 #406BC7 #C740AE #C79D40
square
#40C759 #406BC7 #C740AE #C79D40
split-complementary
#40C759 #9D40C7 #C7406B
monochromatic
#206D2E #2E9C42 #40C759 #6FD582 #9FE3AB

Accessibility & contrast

On white

2.20
#40C759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#40C759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C759
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C759#FFFFFF#000000##000000
##40C7591.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54F
Deuteranopia (green-blind)
#B9AA61
Tritanopia (blue-blind)
#09C2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c759;
/* rgb */ color: rgb(64, 199, 89);
/* oklch */ color: oklch(73.3% 0.191 146.4);
Tailwind
colors: {
  custom: {
    50: '#86d98b',
    500: '#40c759',
    950: '#000000',
  },
}
SCSS
$custom: #40c759;
$custom-light: #86d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c759",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 131.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.19062,
    "h": 146.4
  },
  "luminance": 0.42658
}

Semantic roles & 50–950 ramp

primary
#40C759
secondary
#CF94C4
accent
#4AC3DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C759

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

Preview Lab → · Contrast checker → · Palette generator →

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