#40C16C#40C16C

#40C16C is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.166 H 150.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#40C16C
RGBrgb(64, 193, 108)
HSLhsl(140, 51%, 50%)
HSVhsv(140, 67%, 76%)
CMYKcmyk(66.8%, 0%, 44%, 24.3%)
CIE-LABlab(69.69, -53.81, 32.73)
CIE-LCHlch(69.69, 62.98, 148.69°)
OKLaboklab(72.04% -0.1451 0.0806)
OKLCHoklch(72.04% 0.166 150.9)
XYZxyz(23.8892, 40.3101, 20.7061)
Luminance0.4031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C16C #C14095
analogous
#54C140 #40C16C #40C1AC
triadic
#40C16C #6C40C1 #C16C40
tetradic
#40C16C #4054C1 #C14095 #C1AC40
square
#40C16C #4054C1 #C14095 #C1AC40
split-complementary
#40C16C #AC40C1 #C14054
monochromatic
#216638 #309452 #40C16C #6ED090 #9CDFB3

Accessibility & contrast

On white

2.32
#40C16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#40C16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C16C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C16C#FFFFFF#000000##000000
##40C16C1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B166
Deuteranopia (green-blind)
#B2A672
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c16c;
/* rgb */ color: rgb(64, 193, 108);
/* oklch */ color: oklch(72.0% 0.166 150.9);
Tailwind
colors: {
  custom: {
    50: '#84d597',
    500: '#40c16c',
    950: '#000000',
  },
}
SCSS
$custom: #40c16c;
$custom-light: #84d597;
$custom-dark: #000000;
JSON
{
  "hex": "#40c16c",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 108
  },
  "hsl": {
    "h": 140.465,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.16598,
    "h": 150.9
  },
  "luminance": 0.40313
}

Semantic roles & 50–950 ramp

primary
#40C16C
secondary
#CB92B8
accent
#4DAADA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C16C

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

Preview Lab → · Contrast checker → · Palette generator →

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