#40BA7B#40BA7B

#40BA7B is a light, vivid green. Relative luminance 0.376; OKLCH L 70.5% C 0.143 H 156.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#40BA7B
RGBrgb(64, 186, 123)
HSLhsl(149, 49%, 49%)
HSVhsv(149, 66%, 73%)
CMYKcmyk(65.6%, 0%, 33.9%, 27.1%)
CIE-LABlab(67.75, -48.31, 22.30)
CIE-LCHlch(67.75, 53.21, 155.22°)
OKLaboklab(70.53% -0.1311 0.0562)
OKLCHoklch(70.53% 0.143 156.8)
XYZxyz(23.2463, 37.6354, 24.7743)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA7B #BA407F
analogous
#42BA40 #40BA7B #40BAB8
triadic
#40BA7B #7B40BA #BA7B40
tetradic
#40BA7B #4042BA #BA407F #BAB840
square
#40BA7B #4042BA #BA407F #BAB840
split-complementary
#40BA7B #B840BA #BA4042
monochromatic
#215F3F #308C5D #40BA7B #6BCC9A #99DCB9

Accessibility & contrast

On white

2.46
#40BA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#40BA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA7B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA7B#FFFFFF#000000##000000
##40BA7B1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AC77
Deuteranopia (green-blind)
#A9A17F
Tritanopia (blue-blind)
#00B9AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40ba7b;
/* rgb */ color: rgb(64, 186, 123);
/* oklch */ color: oklch(70.5% 0.143 156.8);
Tailwind
colors: {
  custom: {
    50: '#82d0a1',
    500: '#40ba7b',
    950: '#000000',
  },
}
SCSS
$custom: #40ba7b;
$custom-light: #82d0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba7b",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 123
  },
  "hsl": {
    "h": 149.016,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.14269,
    "h": 156.8
  },
  "luminance": 0.37638
}

Semantic roles & 50–950 ramp

primary
#40BA7B
secondary
#C88EAC
accent
#4F96D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140F
muted
#7D827E

Preview Lab

Preview with #40BA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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