#40D568#40D568

#40D568 is a light, vivid green. Relative luminance 0.497; OKLCH L 77.1% C 0.195 H 148.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#40D568
RGBrgb(64, 213, 104)
HSLhsl(136, 64%, 54%)
HSVhsv(136, 70%, 84%)
CMYKcmyk(70%, 0%, 51.2%, 16.5%)
CIE-LABlab(75.87, -61.70, 42.50)
CIE-LCHlch(75.87, 74.92, 145.44°)
OKLaboklab(77.13% -0.1661 0.1026)
OKLCHoklch(77.13% 0.195 148.3)
XYZxyz(28.4051, 49.6748, 21.1852)
Luminance0.4968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D568 #D540AD
analogous
#63D540 #40D568 #40D5B2
triadic
#40D568 #6840D5 #D56840
tetradic
#40D568 #4063D5 #D540AD #D5B240
square
#40D568 #4063D5 #D540AD #D5B240
split-complementary
#40D568 #B240D5 #D54063
monochromatic
#1C7F36 #27B14C #40D568 #72E090 #A4EBB7

Accessibility & contrast

On white

1.92
#40D568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#40D568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D568
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D568#FFFFFF#000000##000000
##40D5681.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35F
Deuteranopia (green-blind)
#C5B670
Tritanopia (blue-blind)
#00D1BC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d568;
/* rgb */ color: rgb(64, 213, 104);
/* oklch */ color: oklch(77.1% 0.195 148.3);
Tailwind
colors: {
  custom: {
    50: '#88e395',
    500: '#40d568',
    950: '#000000',
  },
}
SCSS
$custom: #40d568;
$custom-light: #88e395;
$custom-dark: #000000;
JSON
{
  "hex": "#40d568",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 104
  },
  "hsl": {
    "h": 136.107,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.19529,
    "h": 148.3
  },
  "luminance": 0.49678
}

Semantic roles & 50–950 ramp

primary
#40D568
secondary
#D899C7
accent
#41BAE7
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D160D
muted
#7E847E

Preview Lab

Preview with #40D568

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

Preview Lab → · Contrast checker → · Palette generator →

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