#40C96C#40C96C

#40C96C is a light, vivid green. Relative luminance 0.439; OKLCH L 74.1% C 0.176 H 150.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#40C96C
RGBrgb(64, 201, 108)
HSLhsl(139, 56%, 52%)
HSVhsv(139, 68%, 79%)
CMYKcmyk(68.2%, 0%, 46.3%, 21.2%)
CIE-LABlab(72.19, -56.79, 35.93)
CIE-LCHlch(72.19, 67.20, 147.68°)
OKLaboklab(74.11% -0.153 0.088)
OKLCHoklch(74.11% 0.176 150.1)
XYZxyz(25.7057, 43.9432, 21.3116)
Luminance0.4395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C96C #C9409D
analogous
#59C940 #40C96C #40C9B0
triadic
#40C96C #6C40C9 #C96C40
tetradic
#40C96C #4059C9 #C9409D #C9B040
square
#40C96C #4059C9 #C9409D #C9B040
split-complementary
#40C96C #B040C9 #C94059
monochromatic
#1F6F39 #2D9F52 #40C96C #70D691 #9FE4B5

Accessibility & contrast

On white

2.15
#40C96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#40C96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C96C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C96C#FFFFFF#000000##000000
##40C96C1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB865
Deuteranopia (green-blind)
#B9AC72
Tritanopia (blue-blind)
#00C6B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c96c;
/* rgb */ color: rgb(64, 201, 108);
/* oklch */ color: oklch(74.1% 0.176 150.1);
Tailwind
colors: {
  custom: {
    50: '#85da97',
    500: '#40c96c',
    950: '#000000',
  },
}
SCSS
$custom: #40c96c;
$custom-light: #85da97;
$custom-dark: #000000;
JSON
{
  "hex": "#40c96c",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 108
  },
  "hsl": {
    "h": 139.27,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74105,
    "c": 0.17648,
    "h": 150.1
  },
  "luminance": 0.43946
}

Semantic roles & 50–950 ramp

primary
#40C96C
secondary
#D094BD
accent
#49AFDF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C96C

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

Preview Lab → · Contrast checker → · Palette generator →

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