#40C96B#40C96B

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

Color values

HEX#40C96B
RGBrgb(64, 201, 107)
HSLhsl(139, 56%, 52%)
HSVhsv(139, 68%, 79%)
CMYKcmyk(68.2%, 0%, 46.8%, 21.2%)
CIE-LABlab(72.18, -56.95, 36.41)
CIE-LCHlch(72.18, 67.59, 147.40°)
OKLaboklab(74.09% -0.1534 0.089)
OKLCHoklch(74.09% 0.177 149.9)
XYZxyz(25.6528, 43.9220, 21.0329)
Luminance0.4392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C96B #C9409E
analogous
#5AC940 #40C96B #40C9AF
triadic
#40C96B #6B40C9 #C96B40
tetradic
#40C96B #405AC9 #C9409E #C9AF40
square
#40C96B #405AC9 #C9409E #C9AF40
split-complementary
#40C96B #AF40C9 #C9405A
monochromatic
#1F6F38 #2D9F51 #40C96B #70D690 #9FE4B5

Accessibility & contrast

On white

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

On black

9.78
#40C96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C96B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C96B#FFFFFF#000000##000000
##40C96B1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c96b;
/* rgb */ color: rgb(64, 201, 107);
/* oklch */ color: oklch(74.1% 0.177 149.9);
Tailwind
colors: {
  custom: {
    50: '#85da97',
    500: '#40c96b',
    950: '#000000',
  },
}
SCSS
$custom: #40c96b;
$custom-light: #85da97;
$custom-dark: #000000;
JSON
{
  "hex": "#40c96b",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 107
  },
  "hsl": {
    "h": 138.832,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74089,
    "c": 0.17738,
    "h": 149.9
  },
  "luminance": 0.43925
}

Semantic roles & 50–950 ramp

primary
#40C96B
secondary
#D094BE
accent
#49B0DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C96B

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

Preview Lab → · Contrast checker → · Palette generator →

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