#40D180#40D180

#40D180 is a light, vivid green. Relative luminance 0.482; OKLCH L 76.5% C 0.169 H 154.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#40D180
RGBrgb(64, 209, 128)
HSLhsl(146, 61%, 54%)
HSVhsv(146, 69%, 82%)
CMYKcmyk(69.4%, 0%, 38.8%, 18%)
CIE-LABlab(74.98, -56.29, 29.36)
CIE-LCHlch(74.98, 63.49, 152.46°)
OKLaboklab(76.51% -0.152 0.0732)
OKLCHoklch(76.51% 0.169 154.3)
XYZxyz(28.8085, 48.2462, 28.2121)
Luminance0.4825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D180 #D14091
analogous
#48D140 #40D180 #40D1C8
triadic
#40D180 #8040D1 #D18040
tetradic
#40D180 #4048D1 #D14091 #D1C840
square
#40D180 #4048D1 #D14091 #D1C840
split-complementary
#40D180 #C840D1 #D14048
monochromatic
#1D7946 #29AB62 #40D180 #71DDA1 #A3E9C2

Accessibility & contrast

On white

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

On black

10.65
#40D180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D180
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D180#FFFFFF#000000##000000
##40D1801.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C07A
Deuteranopia (green-blind)
#BFB385
Tritanopia (blue-blind)
#00CFBD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d180;
/* rgb */ color: rgb(64, 209, 128);
/* oklch */ color: oklch(76.5% 0.169 154.3);
Tailwind
colors: {
  custom: {
    50: '#87e0a5',
    500: '#40d180',
    950: '#000000',
  },
}
SCSS
$custom: #40d180;
$custom-light: #87e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d180",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 128
  },
  "hsl": {
    "h": 146.483,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.16872,
    "h": 154.3
  },
  "luminance": 0.48249
}

Semantic roles & 50–950 ramp

primary
#40D180
secondary
#D597BA
accent
#449DE4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40D180

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

Preview Lab → · Contrast checker → · Palette generator →

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