#40D388#40D388

#40D388 is a light, vivid green. Relative luminance 0.495; OKLCH L 77.2% C 0.164 H 156.3°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#40D388
RGBrgb(64, 211, 136)
HSLhsl(149, 63%, 54%)
HSVhsv(149, 70%, 83%)
CMYKcmyk(69.7%, 0%, 35.5%, 17.3%)
CIE-LABlab(75.73, -55.53, 26.22)
CIE-LCHlch(75.73, 61.41, 154.73°)
OKLaboklab(77.17% -0.1503 0.0659)
OKLCHoklch(77.17% 0.164 156.3)
XYZxyz(29.8497, 49.4527, 31.2600)
Luminance0.4946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D388 #D3408B
analogous
#42D340 #40D388 #40D3D2
triadic
#40D388 #8840D3 #D38840
tetradic
#40D388 #4042D3 #D3408B #D3D240
square
#40D388 #4042D3 #D3408B #D3D240
split-complementary
#40D388 #D240D3 #D34042
monochromatic
#1D7C4B #28AE6A #40D388 #72DEA7 #A3EAC6

Accessibility & contrast

On white

1.93
#40D388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#40D388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D388
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D388#FFFFFF#000000##000000
##40D3881.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C283
Deuteranopia (green-blind)
#BFB58D
Tritanopia (blue-blind)
#00D1C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d388;
/* rgb */ color: rgb(64, 211, 136);
/* oklch */ color: oklch(77.2% 0.164 156.3);
Tailwind
colors: {
  custom: {
    50: '#87e1ab',
    500: '#40d388',
    950: '#000000',
  },
}
SCSS
$custom: #40d388;
$custom-light: #87e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40d388",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 136
  },
  "hsl": {
    "h": 149.388,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7717,
    "c": 0.16413,
    "h": 156.3
  },
  "luminance": 0.49456
}

Semantic roles & 50–950 ramp

primary
#40D388
secondary
#D798B8
accent
#4296E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #40D388

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

Preview Lab → · Contrast checker → · Palette generator →

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