#40C76B#40C76B

#40C76B is a light, vivid green. Relative luminance 0.430; OKLCH L 73.6% C 0.175 H 150.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#40C76B
RGBrgb(64, 199, 107)
HSLhsl(139, 55%, 52%)
HSVhsv(139, 68%, 78%)
CMYKcmyk(67.8%, 0%, 46.2%, 22%)
CIE-LABlab(71.55, -56.21, 35.62)
CIE-LCHlch(71.55, 66.55, 147.64°)
OKLaboklab(73.57% -0.1515 0.0872)
OKLCHoklch(73.57% 0.175 150.1)
XYZxyz(25.1896, 42.9956, 20.8785)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C76B #C7409C
analogous
#59C740 #40C76B #40C7AF
triadic
#40C76B #6B40C7 #C76B40
tetradic
#40C76B #4059C7 #C7409C #C7AF40
square
#40C76B #4059C7 #C7409C #C7AF40
split-complementary
#40C76B #AF40C7 #C74059
monochromatic
#206D38 #2E9C51 #40C76B #6FD590 #9FE3B4

Accessibility & contrast

On white

2.19
#40C76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#40C76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C76B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C76B#FFFFFF#000000##000000
##40C76B1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B664
Deuteranopia (green-blind)
#B8AB71
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c76b;
/* rgb */ color: rgb(64, 199, 107);
/* oklch */ color: oklch(73.6% 0.175 150.1);
Tailwind
colors: {
  custom: {
    50: '#85d997',
    500: '#40c76b',
    950: '#000000',
  },
}
SCSS
$custom: #40c76b;
$custom-light: #85d997;
$custom-dark: #000000;
JSON
{
  "hex": "#40c76b",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 107
  },
  "hsl": {
    "h": 139.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73573,
    "c": 0.17479,
    "h": 150.1
  },
  "luminance": 0.42998
}

Semantic roles & 50–950 ramp

primary
#40C76B
secondary
#CF94BC
accent
#4AAFDE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C76B

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

Preview Lab → · Contrast checker → · Palette generator →

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