#40D488#40D488

#40D488 is a light, vivid green. Relative luminance 0.500; OKLCH L 77.4% C 0.165 H 156.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#40D488
RGBrgb(64, 212, 136)
HSLhsl(149, 63%, 54%)
HSVhsv(149, 70%, 83%)
CMYKcmyk(69.8%, 0%, 35.8%, 16.9%)
CIE-LABlab(76.04, -55.91, 26.63)
CIE-LCHlch(76.04, 61.93, 154.53°)
OKLaboklab(77.42% -0.1513 0.0669)
OKLCHoklch(77.42% 0.165 156.2)
XYZxyz(30.0989, 49.9511, 31.3430)
Luminance0.4995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D488 #D4408C
analogous
#42D440 #40D488 #40D4D2
triadic
#40D488 #8840D4 #D48840
tetradic
#40D488 #4042D4 #D4408C #D4D240
square
#40D488 #4042D4 #D4408C #D4D240
split-complementary
#40D488 #D240D4 #D44042
monochromatic
#1C7D4B #27AF6A #40D488 #72DFA7 #A4EAC6

Accessibility & contrast

On white

1.91
#40D488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#40D488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D488
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D488#FFFFFF#000000##000000
##40D4881.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C383
Deuteranopia (green-blind)
#C0B68D
Tritanopia (blue-blind)
#00D2C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d488;
/* rgb */ color: rgb(64, 212, 136);
/* oklch */ color: oklch(77.4% 0.165 156.2);
Tailwind
colors: {
  custom: {
    50: '#87e2ab',
    500: '#40d488',
    950: '#000000',
  },
}
SCSS
$custom: #40d488;
$custom-light: #87e2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40d488",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 149.189,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77423,
    "c": 0.16543,
    "h": 156.2
  },
  "luminance": 0.49955
}

Semantic roles & 50–950 ramp

primary
#40D488
secondary
#D798B9
accent
#4296E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D1510
muted
#7E847F

Preview Lab

Preview with #40D488

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

Preview Lab → · Contrast checker → · Palette generator →

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