#40C756#40C756

#40C756 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.193 H 146.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#40C756
RGBrgb(64, 199, 86)
HSLhsl(130, 55%, 52%)
HSVhsv(130, 68%, 78%)
CMYKcmyk(67.8%, 0%, 56.8%, 22%)
CIE-LABlab(71.29, -59.26, 45.51)
CIE-LCHlch(71.29, 74.72, 142.48°)
OKLaboklab(73.27% -0.16 0.1081)
OKLCHoklch(73.27% 0.193 146)
XYZxyz(24.2158, 42.6061, 15.7499)
Luminance0.4261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C756 #C740B1
analogous
#6EC740 #40C756 #40C79A
triadic
#40C756 #5640C7 #C75640
tetradic
#40C756 #406EC7 #C740B1 #C79A40
square
#40C756 #406EC7 #C740B1 #C79A40
split-complementary
#40C756 #9A40C7 #C7406E
monochromatic
#206D2C #2E9C40 #40C756 #6FD580 #9FE3AA

Accessibility & contrast

On white

2.21
#40C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#40C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C756
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C756#FFFFFF#000000##000000
##40C7561.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54B
Deuteranopia (green-blind)
#BAAA5F
Tritanopia (blue-blind)
#0DC2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c756;
/* rgb */ color: rgb(64, 199, 86);
/* oklch */ color: oklch(73.3% 0.193 146.0);
Tailwind
colors: {
  custom: {
    50: '#86d989',
    500: '#40c756',
    950: '#000000',
  },
}
SCSS
$custom: #40c756;
$custom-light: #86d989;
$custom-dark: #000000;
JSON
{
  "hex": "#40c756",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 129.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73268,
    "c": 0.19311,
    "h": 146
  },
  "luminance": 0.42609
}

Semantic roles & 50–950 ramp

primary
#40C756
secondary
#CF94C5
accent
#4AC6DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C756

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

Preview Lab → · Contrast checker → · Palette generator →

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