#40C15C#40C15C

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

Color values

HEX#40C15C
RGBrgb(64, 193, 92)
HSLhsl(133, 51%, 50%)
HSVhsv(133, 67%, 76%)
CMYKcmyk(66.8%, 0%, 52.3%, 24.3%)
CIE-LABlab(69.47, -56.31, 40.46)
CIE-LCHlch(69.47, 69.34, 144.30°)
OKLaboklab(71.79% -0.1519 0.0974)
OKLCHoklch(71.79% 0.18 147.3)
XYZxyz(23.1144, 40.0002, 16.6258)
Luminance0.4000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C15C #C140A5
analogous
#65C140 #40C15C #40C19C
triadic
#40C15C #5C40C1 #C15C40
tetradic
#40C15C #4065C1 #C140A5 #C19C40
square
#40C15C #4065C1 #C140A5 #C19C40
split-complementary
#40C15C #9C40C1 #C14065
monochromatic
#216630 #309446 #40C15C #6ED083 #9CDFAB

Accessibility & contrast

On white

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

On black

9.00
#40C15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C15C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C15C#FFFFFF#000000##000000
##40C15C1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B053
Deuteranopia (green-blind)
#B3A563
Tritanopia (blue-blind)
#0EBDAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c15c;
/* rgb */ color: rgb(64, 193, 92);
/* oklch */ color: oklch(71.8% 0.180 147.3);
Tailwind
colors: {
  custom: {
    50: '#84d58c',
    500: '#40c15c',
    950: '#000000',
  },
}
SCSS
$custom: #40c15c;
$custom-light: #84d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c15c",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 133.023,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.18045,
    "h": 147.3
  },
  "luminance": 0.40003
}

Semantic roles & 50–950 ramp

primary
#40C15C
secondary
#CB92BF
accent
#4DBCDA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C15C

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

Preview Lab → · Contrast checker → · Palette generator →

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