#40D158#40D158

#40D158 is a light, highly saturated green. Relative luminance 0.474; OKLCH L 75.9% C 0.204 H 145.9°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#40D158
RGBrgb(64, 209, 88)
HSLhsl(130, 61%, 54%)
HSVhsv(130, 69%, 82%)
CMYKcmyk(69.4%, 0%, 57.9%, 18%)
CIE-LABlab(74.44, -62.47, 48.30)
CIE-LCHlch(74.44, 78.96, 142.29°)
OKLaboklab(75.88% -0.1686 0.1143)
OKLCHoklch(75.88% 0.204 145.9)
XYZxyz(26.6744, 47.3926, 16.9725)
Luminance0.4739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D158 #D140B9
analogous
#70D140 #40D158 #40D1A0
triadic
#40D158 #5840D1 #D15840
tetradic
#40D158 #4070D1 #D140B9 #D1A040
square
#40D158 #4070D1 #D140B9 #D1A040
split-complementary
#40D158 #A040D1 #D14070
monochromatic
#1D792C #29AB3F #40D158 #71DD83 #A3E9AE

Accessibility & contrast

On white

2.00
#40D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#40D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D158
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D158#FFFFFF#000000##000000
##40D1581.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#C3B262
Tritanopia (blue-blind)
#00CCB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d158;
/* rgb */ color: rgb(64, 209, 88);
/* oklch */ color: oklch(75.9% 0.204 145.9);
Tailwind
colors: {
  custom: {
    50: '#88e08b',
    500: '#40d158',
    950: '#000000',
  },
}
SCSS
$custom: #40d158;
$custom-light: #88e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d158",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 129.931,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75884,
    "c": 0.20372,
    "h": 145.9
  },
  "luminance": 0.47395
}

Semantic roles & 50–950 ramp

primary
#40D158
secondary
#D597CB
accent
#44CAE4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D158

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

Preview Lab → · Contrast checker → · Palette generator →

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