#40C757#40C757

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

Color values

HEX#40C757
RGBrgb(64, 199, 87)
HSLhsl(130, 55%, 52%)
HSVhsv(130, 68%, 78%)
CMYKcmyk(67.8%, 0%, 56.3%, 22%)
CIE-LABlab(71.30, -59.13, 45.05)
CIE-LCHlch(71.30, 74.34, 142.70°)
OKLaboklab(73.28% -0.1596 0.1072)
OKLCHoklch(73.28% 0.192 146.1)
XYZxyz(24.2564, 42.6224, 15.9636)
Luminance0.4263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C757 #C740B0
analogous
#6DC740 #40C757 #40C79B
triadic
#40C757 #5740C7 #C75740
tetradic
#40C757 #406DC7 #C740B0 #C79B40
square
#40C757 #406DC7 #C740B0 #C79B40
split-complementary
#40C757 #9B40C7 #C7406D
monochromatic
#206D2D #2E9C41 #40C757 #6FD581 #9FE3AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C757#FFFFFF#000000##000000
##40C7571.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)
#CAB54C
Deuteranopia (green-blind)
#BAAA60
Tritanopia (blue-blind)
#0BC2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c757;
/* rgb */ color: rgb(64, 199, 87);
/* oklch */ color: oklch(73.3% 0.192 146.1);
Tailwind
colors: {
  custom: {
    50: '#86d989',
    500: '#40c757',
    950: '#000000',
  },
}
SCSS
$custom: #40c757;
$custom-light: #86d989;
$custom-dark: #000000;
JSON
{
  "hex": "#40c757",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 130.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73281,
    "c": 0.19228,
    "h": 146.1
  },
  "luminance": 0.42625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C757

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

Preview Lab → · Contrast checker → · Palette generator →

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