#40C876#40C876

#40C876 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.166 H 152.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#40C876
RGBrgb(64, 200, 118)
HSLhsl(144, 55%, 52%)
HSVhsv(144, 68%, 78%)
CMYKcmyk(68%, 0%, 41%, 21.6%)
CIE-LABlab(72.03, -54.71, 30.63)
CIE-LCHlch(72.03, 62.70, 150.76°)
OKLaboklab(74.02% -0.1476 0.076)
OKLCHoklch(74.02% 0.166 152.8)
XYZxyz(26.0364, 43.7037, 24.1995)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C876 #C84092
analogous
#4EC840 #40C876 #40C8BA
triadic
#40C876 #7640C8 #C87640
tetradic
#40C876 #404EC8 #C84092 #C8BA40
square
#40C876 #404EC8 #C84092 #C8BA40
split-complementary
#40C876 #BA40C8 #C8404E
monochromatic
#206E3F #2D9D5A #40C876 #70D698 #9FE3BA

Accessibility & contrast

On white

2.16
#40C876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#40C876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C876
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C876#FFFFFF#000000##000000
##40C8761.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B870
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c876;
/* rgb */ color: rgb(64, 200, 118);
/* oklch */ color: oklch(74.0% 0.166 152.8);
Tailwind
colors: {
  custom: {
    50: '#85da9e',
    500: '#40c876',
    950: '#000000',
  },
}
SCSS
$custom: #40c876;
$custom-light: #85da9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c876",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 143.824,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74022,
    "c": 0.16604,
    "h": 152.8
  },
  "luminance": 0.43707
}

Semantic roles & 50–950 ramp

primary
#40C876
secondary
#D094B8
accent
#49A3DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C876

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

Preview Lab → · Contrast checker → · Palette generator →

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