#40C156#40C156

#40C156 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.7% C 0.186 H 146.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#40C156
RGBrgb(64, 193, 86)
HSLhsl(130, 51%, 50%)
HSVhsv(130, 67%, 76%)
CMYKcmyk(66.8%, 0%, 55.4%, 24.3%)
CIE-LABlab(69.40, -57.14, 43.26)
CIE-LCHlch(69.40, 71.67, 142.87°)
OKLaboklab(71.71% -0.1543 0.1032)
OKLCHoklch(71.71% 0.186 146.2)
XYZxyz(22.8625, 39.8994, 15.2988)
Luminance0.3990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C156 #C140AB
analogous
#6AC140 #40C156 #40C197
triadic
#40C156 #5640C1 #C15640
tetradic
#40C156 #406AC1 #C140AB #C19740
square
#40C156 #406AC1 #C140AB #C19740
split-complementary
#40C156 #9740C1 #C1406A
monochromatic
#21662D #309441 #40C156 #6ED07F #9CDFA8

Accessibility & contrast

On white

2.34
#40C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#40C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C156
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C156#FFFFFF#000000##000000
##40C1561.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04C
Deuteranopia (green-blind)
#B4A55E
Tritanopia (blue-blind)
#14BDA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c156;
/* rgb */ color: rgb(64, 193, 86);
/* oklch */ color: oklch(71.7% 0.186 146.2);
Tailwind
colors: {
  custom: {
    50: '#85d588',
    500: '#40c156',
    950: '#000000',
  },
}
SCSS
$custom: #40c156;
$custom-light: #85d588;
$custom-dark: #000000;
JSON
{
  "hex": "#40c156",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 130.233,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.18561,
    "h": 146.2
  },
  "luminance": 0.39902
}

Semantic roles & 50–950 ramp

primary
#40C156
secondary
#CB92C1
accent
#4DC2DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C156

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

Preview Lab → · Contrast checker → · Palette generator →

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