#40BA77#40BA77

#40BA77 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.4% C 0.146 H 155.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#40BA77
RGBrgb(64, 186, 119)
HSLhsl(147, 49%, 49%)
HSVhsv(147, 66%, 73%)
CMYKcmyk(65.6%, 0%, 36%, 27.1%)
CIE-LABlab(67.68, -49.10, 24.33)
CIE-LCHlch(67.68, 54.80, 153.64°)
OKLaboklab(70.45% -0.133 0.0611)
OKLCHoklch(70.45% 0.146 155.3)
XYZxyz(23.0010, 37.5373, 23.4824)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA77 #BA4083
analogous
#46BA40 #40BA77 #40BAB4
triadic
#40BA77 #7740BA #BA7740
tetradic
#40BA77 #4046BA #BA4083 #BAB440
square
#40BA77 #4046BA #BA4083 #BAB440
split-complementary
#40BA77 #B440BA #BA4046
monochromatic
#215F3D #308C5A #40BA77 #6BCC97 #99DCB7

Accessibility & contrast

On white

2.47
#40BA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#40BA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA77
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA77#FFFFFF#000000##000000
##40BA771.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AC73
Deuteranopia (green-blind)
#AAA07B
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40ba77;
/* rgb */ color: rgb(64, 186, 119);
/* oklch */ color: oklch(70.4% 0.146 155.3);
Tailwind
colors: {
  custom: {
    50: '#82d09e',
    500: '#40ba77',
    950: '#000000',
  },
}
SCSS
$custom: #40ba77;
$custom-light: #82d09e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba77",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 119
  },
  "hsl": {
    "h": 147.049,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.14636,
    "h": 155.3
  },
  "luminance": 0.3754
}

Semantic roles & 50–950 ramp

primary
#40BA77
secondary
#C88EAE
accent
#4F9BD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40BA77

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

Preview Lab → · Contrast checker → · Palette generator →

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