#40D186#40D186

#40D186 is a light, vivid green. Relative luminance 0.484; OKLCH L 76.6% C 0.163 H 156.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#40D186
RGBrgb(64, 209, 134)
HSLhsl(149, 61%, 54%)
HSVhsv(149, 69%, 82%)
CMYKcmyk(69.4%, 0%, 35.9%, 18%)
CIE-LABlab(75.08, -55.16, 26.39)
CIE-LCHlch(75.08, 61.14, 154.43°)
OKLaboklab(76.62% -0.1493 0.0662)
OKLCHoklch(76.62% 0.163 156.1)
XYZxyz(29.2152, 48.4089, 30.3538)
Luminance0.4841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D186 #D1408B
analogous
#42D140 #40D186 #40D1CF
triadic
#40D186 #8640D1 #D18640
tetradic
#40D186 #4042D1 #D1408B #D1CF40
square
#40D186 #4042D1 #D1408B #D1CF40
split-complementary
#40D186 #CF40D1 #D14042
monochromatic
#1D794A #29AB68 #40D186 #71DDA5 #A3E9C4

Accessibility & contrast

On white

1.97
#40D186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#40D186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D186
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D186#FFFFFF#000000##000000
##40D1861.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C181
Deuteranopia (green-blind)
#BEB48B
Tritanopia (blue-blind)
#00CFBE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d186;
/* rgb */ color: rgb(64, 209, 134);
/* oklch */ color: oklch(76.6% 0.163 156.1);
Tailwind
colors: {
  custom: {
    50: '#87e0a9',
    500: '#40d186',
    950: '#000000',
  },
}
SCSS
$custom: #40d186;
$custom-light: #87e0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d186",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 134
  },
  "hsl": {
    "h": 148.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76623,
    "c": 0.16332,
    "h": 156.1
  },
  "luminance": 0.48412
}

Semantic roles & 50–950 ramp

primary
#40D186
secondary
#D597B7
accent
#4497E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D1510
muted
#7D837F

Preview Lab

Preview with #40D186

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

Preview Lab → · Contrast checker → · Palette generator →

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