#40B771#40B771

#40B771 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.6% C 0.148 H 153.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#40B771
RGBrgb(64, 183, 113)
HSLhsl(145, 48%, 48%)
HSVhsv(145, 65%, 72%)
CMYKcmyk(65%, 0%, 38.3%, 28.2%)
CIE-LABlab(66.63, -49.05, 26.12)
CIE-LCHlch(66.63, 55.58, 151.96°)
OKLaboklab(69.55% -0.1327 0.0652)
OKLCHoklch(69.55% 0.148 153.8)
XYZxyz(22.0266, 36.1469, 21.4358)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B771 #B74086
analogous
#4AB740 #40B771 #40B7AC
triadic
#40B771 #7140B7 #B77140
tetradic
#40B771 #404AB7 #B74086 #B7AC40
square
#40B771 #404AB7 #B74086 #B7AC40
split-complementary
#40B771 #AC40B7 #B7404A
monochromatic
#205C39 #308A55 #40B771 #69CB92 #97DBB3

Accessibility & contrast

On white

2.55
#40B771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#40B771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B771
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B771#FFFFFF#000000##000000
##40B7711.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96C
Deuteranopia (green-blind)
#A79E76
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b771;
/* rgb */ color: rgb(64, 183, 113);
/* oklch */ color: oklch(69.6% 0.148 153.8);
Tailwind
colors: {
  custom: {
    50: '#82cd9a',
    500: '#40b771',
    950: '#000000',
  },
}
SCSS
$custom: #40b771;
$custom-light: #82cd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b771",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 144.706,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.14785,
    "h": 153.8
  },
  "luminance": 0.36149
}

Semantic roles & 50–950 ramp

primary
#40B771
secondary
#C68DAE
accent
#50A0D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B771

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

Preview Lab → · Contrast checker → · Palette generator →

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