#40C760#40C760

#40C760 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.4% C 0.185 H 147.7°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#40C760
RGBrgb(64, 199, 96)
HSLhsl(134, 55%, 52%)
HSVhsv(134, 68%, 78%)
CMYKcmyk(67.8%, 0%, 51.8%, 22%)
CIE-LABlab(71.40, -57.90, 40.89)
CIE-LCHlch(71.40, 70.88, 144.77°)
OKLaboklab(73.4% -0.1561 0.0986)
OKLCHoklch(73.4% 0.185 147.7)
XYZxyz(24.6473, 42.7787, 18.0222)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C760 #C740A7
analogous
#64C740 #40C760 #40C7A4
triadic
#40C760 #6040C7 #C76040
tetradic
#40C760 #4064C7 #C740A7 #C7A440
square
#40C760 #4064C7 #C740A7 #C7A440
split-complementary
#40C760 #A440C7 #C74064
monochromatic
#206D32 #2E9C48 #40C760 #6FD587 #9FE3AF

Accessibility & contrast

On white

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

On black

9.56
#40C760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C760
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C760#FFFFFF#000000##000000
##40C7601.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B657
Deuteranopia (green-blind)
#B9AA68
Tritanopia (blue-blind)
#00C3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c760;
/* rgb */ color: rgb(64, 199, 96);
/* oklch */ color: oklch(73.4% 0.185 147.7);
Tailwind
colors: {
  custom: {
    50: '#85d98f',
    500: '#40c760',
    950: '#000000',
  },
}
SCSS
$custom: #40c760;
$custom-light: #85d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c760",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 96
  },
  "hsl": {
    "h": 134.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73404,
    "c": 0.18461,
    "h": 147.7
  },
  "luminance": 0.42781
}

Semantic roles & 50–950 ramp

primary
#40C760
secondary
#CF94C1
accent
#4ABBDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C760

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

Preview Lab → · Contrast checker → · Palette generator →

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