#40C15F#40C15F

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

Color values

HEX#40C15F
RGBrgb(64, 193, 95)
HSLhsl(134, 51%, 50%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(66.8%, 0%, 50.8%, 24.3%)
CIE-LABlab(69.51, -55.87, 39.04)
CIE-LCHlch(69.51, 68.16, 145.06°)
OKLaboklab(71.83% -0.1507 0.0944)
OKLCHoklch(71.83% 0.178 147.9)
XYZxyz(23.2482, 40.0537, 17.3302)
Luminance0.4006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C15F #C140A2
analogous
#61C140 #40C15F #40C1A0
triadic
#40C15F #5F40C1 #C15F40
tetradic
#40C15F #4061C1 #C140A2 #C1A040
square
#40C15F #4061C1 #C140A2 #C1A040
split-complementary
#40C15F #A040C1 #C14061
monochromatic
#216631 #309448 #40C15F #6ED086 #9CDFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C15F#FFFFFF#000000##000000
##40C15F1.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)
#C3B057
Deuteranopia (green-blind)
#B3A566
Tritanopia (blue-blind)
#0ABDAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c15f;
/* rgb */ color: rgb(64, 193, 95);
/* oklch */ color: oklch(71.8% 0.178 147.9);
Tailwind
colors: {
  custom: {
    50: '#84d58e',
    500: '#40c15f',
    950: '#000000',
  },
}
SCSS
$custom: #40c15f;
$custom-light: #84d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c15f",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 134.419,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71833,
    "c": 0.1778,
    "h": 147.9
  },
  "luminance": 0.40056
}

Semantic roles & 50–950 ramp

primary
#40C15F
secondary
#CB92BD
accent
#4DB9DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C15F

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

Preview Lab → · Contrast checker → · Palette generator →

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