#40C155#40C155

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

Color values

HEX#40C155
RGBrgb(64, 193, 85)
HSLhsl(130, 51%, 50%)
HSVhsv(130, 67%, 76%)
CMYKcmyk(66.8%, 0%, 56%, 24.3%)
CIE-LABlab(69.39, -57.27, 43.72)
CIE-LCHlch(69.39, 72.05, 142.64°)
OKLaboklab(71.69% -0.1547 0.1042)
OKLCHoklch(71.69% 0.186 146)
XYZxyz(22.8225, 39.8834, 15.0881)
Luminance0.3989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C155 #C140AC
analogous
#6CC140 #40C155 #40C195
triadic
#40C155 #5540C1 #C15540
tetradic
#40C155 #406CC1 #C140AC #C19540
square
#40C155 #406CC1 #C140AC #C19540
split-complementary
#40C155 #9540C1 #C1406C
monochromatic
#21662C #309440 #40C155 #6ED07E #9CDFA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C155#FFFFFF#000000##000000
##40C1551.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)
#C4B04B
Deuteranopia (green-blind)
#B4A55D
Tritanopia (blue-blind)
#14BCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c155;
/* rgb */ color: rgb(64, 193, 85);
/* oklch */ color: oklch(71.7% 0.186 146.0);
Tailwind
colors: {
  custom: {
    50: '#85d588',
    500: '#40c155',
    950: '#000000',
  },
}
SCSS
$custom: #40c155;
$custom-light: #85d588;
$custom-dark: #000000;
JSON
{
  "hex": "#40c155",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 129.767,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71693,
    "c": 0.18646,
    "h": 146
  },
  "luminance": 0.39886
}

Semantic roles & 50–950 ramp

primary
#40C155
secondary
#CB92C2
accent
#4DC3DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C155

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

Preview Lab → · Contrast checker → · Palette generator →

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