#40C15B#40C15B

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

Color values

HEX#40C15B
RGBrgb(64, 193, 91)
HSLhsl(133, 51%, 50%)
HSVhsv(133, 67%, 76%)
CMYKcmyk(66.8%, 0%, 52.8%, 24.3%)
CIE-LABlab(69.46, -56.45, 40.93)
CIE-LCHlch(69.46, 69.73, 144.05°)
OKLaboklab(71.78% -0.1523 0.0984)
OKLCHoklch(71.78% 0.181 147.1)
XYZxyz(23.0710, 39.9828, 16.3971)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C15B #C140A6
analogous
#65C140 #40C15B #40C19B
triadic
#40C15B #5B40C1 #C15B40
tetradic
#40C15B #4065C1 #C140A6 #C19B40
square
#40C15B #4065C1 #C140A6 #C19B40
split-complementary
#40C15B #9B40C1 #C14065
monochromatic
#21662F #309445 #40C15B #6ED083 #9CDFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C15B#FFFFFF#000000##000000
##40C15B1.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)
#C3B052
Deuteranopia (green-blind)
#B4A563
Tritanopia (blue-blind)
#0FBDAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c15b;
/* rgb */ color: rgb(64, 193, 91);
/* oklch */ color: oklch(71.8% 0.181 147.1);
Tailwind
colors: {
  custom: {
    50: '#84d58c',
    500: '#40c15b',
    950: '#000000',
  },
}
SCSS
$custom: #40c15b;
$custom-light: #84d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c15b",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 132.558,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.18131,
    "h": 147.1
  },
  "luminance": 0.39985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C15B

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

Preview Lab → · Contrast checker → · Palette generator →

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