#40C15E#40C15E

#40C15E is a light, vivid green. Relative luminance 0.400; OKLCH L 71.8% C 0.179 H 147.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#40C15E
RGBrgb(64, 193, 94)
HSLhsl(134, 51%, 50%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(66.8%, 0%, 51.3%, 24.3%)
CIE-LABlab(69.49, -56.02, 39.52)
CIE-LCHlch(69.49, 68.56, 144.80°)
OKLaboklab(71.82% -0.1511 0.0954)
OKLCHoklch(71.82% 0.179 147.7)
XYZxyz(23.2030, 40.0356, 17.0923)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C15E #C140A3
analogous
#63C140 #40C15E #40C19E
triadic
#40C15E #5E40C1 #C15E40
tetradic
#40C15E #4063C1 #C140A3 #C19E40
square
#40C15E #4063C1 #C140A3 #C19E40
split-complementary
#40C15E #9E40C1 #C14063
monochromatic
#216631 #309447 #40C15E #6ED085 #9CDFAC

Accessibility & contrast

On white

2.33
#40C15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#40C15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C15E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C15E#FFFFFF#000000##000000
##40C15E1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B055
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#0BBDAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c15e;
/* rgb */ color: rgb(64, 193, 94);
/* oklch */ color: oklch(71.8% 0.179 147.7);
Tailwind
colors: {
  custom: {
    50: '#84d58e',
    500: '#40c15e',
    950: '#000000',
  },
}
SCSS
$custom: #40c15e;
$custom-light: #84d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c15e",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 94
  },
  "hsl": {
    "h": 133.953,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.17868,
    "h": 147.7
  },
  "luminance": 0.40038
}

Semantic roles & 50–950 ramp

primary
#40C15E
secondary
#CB92BE
accent
#4DBADA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C15E

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

Preview Lab → · Contrast checker → · Palette generator →

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