#40C15D#40C15D

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

Color values

HEX#40C15D
RGBrgb(64, 193, 93)
HSLhsl(133, 51%, 50%)
HSVhsv(133, 67%, 76%)
CMYKcmyk(66.8%, 0%, 51.8%, 24.3%)
CIE-LABlab(69.48, -56.17, 39.99)
CIE-LCHlch(69.48, 68.95, 144.55°)
OKLaboklab(71.8% -0.1515 0.0964)
OKLCHoklch(71.8% 0.18 147.5)
XYZxyz(23.1584, 40.0178, 16.8575)
Luminance0.4002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C15D #C140A4
analogous
#64C140 #40C15D #40C19D
triadic
#40C15D #5D40C1 #C15D40
tetradic
#40C15D #4064C1 #C140A4 #C19D40
square
#40C15D #4064C1 #C140A4 #C19D40
split-complementary
#40C15D #9D40C1 #C14064
monochromatic
#216630 #309446 #40C15D #6ED084 #9CDFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C15D#FFFFFF#000000##000000
##40C15D1.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)
#C3B054
Deuteranopia (green-blind)
#B3A564
Tritanopia (blue-blind)
#0DBDAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c15d;
/* rgb */ color: rgb(64, 193, 93);
/* oklch */ color: oklch(71.8% 0.180 147.5);
Tailwind
colors: {
  custom: {
    50: '#84d58d',
    500: '#40c15d',
    950: '#000000',
  },
}
SCSS
$custom: #40c15d;
$custom-light: #84d58d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c15d",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 133.488,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71804,
    "c": 0.17956,
    "h": 147.5
  },
  "luminance": 0.4002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C15D

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

Preview Lab → · Contrast checker → · Palette generator →

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