#40B371#40B371

#40B371 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.5% C 0.142 H 154.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#40B371
RGBrgb(64, 179, 113)
HSLhsl(146, 47%, 48%)
HSVhsv(146, 64%, 70%)
CMYKcmyk(64.2%, 0%, 36.9%, 29.8%)
CIE-LABlab(65.37, -47.46, 24.44)
CIE-LCHlch(65.37, 53.38, 152.75°)
OKLaboklab(68.52% -0.1285 0.0612)
OKLCHoklch(68.52% 0.142 154.5)
XYZxyz(21.2133, 34.5202, 21.1647)
Luminance0.3452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B371 #B34082
analogous
#49B340 #40B371 #40B3AA
triadic
#40B371 #7140B3 #B37140
tetradic
#40B371 #4049B3 #B34082 #B3AA40
square
#40B371 #4049B3 #B34082 #B3AA40
split-complementary
#40B371 #AA40B3 #B34049
monochromatic
#205938 #308655 #40B371 #67C991 #94D9B2

Accessibility & contrast

On white

2.66
#40B371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#40B371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B371
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B371#FFFFFF#000000##000000
##40B3711.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56D
Deuteranopia (green-blind)
#A49A75
Tritanopia (blue-blind)
#01B1A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b371;
/* rgb */ color: rgb(64, 179, 113);
/* oklch */ color: oklch(68.5% 0.142 154.5);
Tailwind
colors: {
  custom: {
    50: '#81cb9a',
    500: '#40b371',
    950: '#000000',
  },
}
SCSS
$custom: #40b371;
$custom-light: #81cb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b371",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 113
  },
  "hsl": {
    "h": 145.565,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.14236,
    "h": 154.5
  },
  "luminance": 0.34522
}

Semantic roles & 50–950 ramp

primary
#40B371
secondary
#C48AAC
accent
#519ED7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B371

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

Preview Lab → · Contrast checker → · Palette generator →

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