#40BA7A#40BA7A

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

Color values

HEX#40BA7A
RGBrgb(64, 186, 122)
HSLhsl(149, 49%, 49%)
HSVhsv(149, 66%, 73%)
CMYKcmyk(65.6%, 0%, 34.4%, 27.1%)
CIE-LABlab(67.73, -48.51, 22.81)
CIE-LCHlch(67.73, 53.60, 154.82°)
OKLaboklab(70.51% -0.1316 0.0574)
OKLCHoklch(70.51% 0.144 156.4)
XYZxyz(23.1840, 37.6105, 24.4463)
Luminance0.3761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA7A #BA4080
analogous
#43BA40 #40BA7A #40BAB7
triadic
#40BA7A #7A40BA #BA7A40
tetradic
#40BA7A #4043BA #BA4080 #BAB740
square
#40BA7A #4043BA #BA4080 #BAB740
split-complementary
#40BA7A #B740BA #BA4043
monochromatic
#215F3E #308C5C #40BA7A #6BCC99 #99DCB9

Accessibility & contrast

On white

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

On black

8.52
#40BA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA7A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA7A#FFFFFF#000000##000000
##40BA7A1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ba7a;
/* rgb */ color: rgb(64, 186, 122);
/* oklch */ color: oklch(70.5% 0.144 156.4);
Tailwind
colors: {
  custom: {
    50: '#82d0a1',
    500: '#40ba7a',
    950: '#000000',
  },
}
SCSS
$custom: #40ba7a;
$custom-light: #82d0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba7a",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 122
  },
  "hsl": {
    "h": 148.525,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.1436,
    "h": 156.4
  },
  "luminance": 0.37613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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