#40D875#40D875

#40D875 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.1% C 0.188 H 150.7°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#40D875
RGBrgb(64, 216, 117)
HSLhsl(141, 66%, 55%)
HSVhsv(141, 70%, 85%)
CMYKcmyk(70.4%, 0%, 45.8%, 15.3%)
CIE-LABlab(76.97, -60.76, 37.52)
CIE-LCHlch(76.97, 71.41, 148.31°)
OKLaboklab(78.09% -0.1636 0.0919)
OKLCHoklch(78.09% 0.188 150.7)
XYZxyz(29.8786, 51.4827, 25.1887)
Luminance0.5149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D875 #D840A3
analogous
#57D840 #40D875 #40D8C1
triadic
#40D875 #7540D8 #D87540
tetradic
#40D875 #4057D8 #D840A3 #D8C140
square
#40D875 #4057D8 #D840A3 #D8C140
split-complementary
#40D875 #C140D8 #D84057
monochromatic
#1B833F #25B658 #40D875 #73E29A #A6EDBE

Accessibility & contrast

On white

1.86
#40D875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#40D875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D875
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D875#FFFFFF#000000##000000
##40D8751.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66D
Deuteranopia (green-blind)
#C7B97C
Tritanopia (blue-blind)
#00D4C0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d875;
/* rgb */ color: rgb(64, 216, 117);
/* oklch */ color: oklch(78.1% 0.188 150.7);
Tailwind
colors: {
  custom: {
    50: '#88e59e',
    500: '#40d875',
    950: '#000000',
  },
}
SCSS
$custom: #40d875;
$custom-light: #88e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d875",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 140.921,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78092,
    "c": 0.18765,
    "h": 150.7
  },
  "luminance": 0.51486
}

Semantic roles & 50–950 ramp

primary
#40D875
secondary
#8A336B
accent
#3FAEE9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D875

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

Preview Lab → · Contrast checker → · Palette generator →

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