#40BA6B#40BA6B

#40BA6B is a light, vivid green. Relative luminance 0.373; OKLCH L 70.2% C 0.158 H 151.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#40BA6B
RGBrgb(64, 186, 107)
HSLhsl(141, 49%, 49%)
HSVhsv(141, 66%, 73%)
CMYKcmyk(65.6%, 0%, 42.5%, 27.1%)
CIE-LABlab(67.48, -51.31, 30.38)
CIE-LCHlch(67.48, 59.63, 149.37°)
OKLaboklab(70.21% -0.1385 0.0751)
OKLCHoklch(70.21% 0.158 151.5)
XYZxyz(22.3253, 37.2670, 19.9238)
Luminance0.3727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA6B #BA408F
analogous
#52BA40 #40BA6B #40BAA8
triadic
#40BA6B #6B40BA #BA6B40
tetradic
#40BA6B #4052BA #BA408F #BAA840
square
#40BA6B #4052BA #BA408F #BAA840
split-complementary
#40BA6B #A840BA #BA4052
monochromatic
#215F37 #308C51 #40BA6B #6BCC8D #99DCB0

Accessibility & contrast

On white

2.48
#40BA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#40BA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA6B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA6B#FFFFFF#000000##000000
##40BA6B1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAB65
Deuteranopia (green-blind)
#ABA070
Tritanopia (blue-blind)
#01B7A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba6b;
/* rgb */ color: rgb(64, 186, 107);
/* oklch */ color: oklch(70.2% 0.158 151.5);
Tailwind
colors: {
  custom: {
    50: '#83d096',
    500: '#40ba6b',
    950: '#000000',
  },
}
SCSS
$custom: #40ba6b;
$custom-light: #83d096;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba6b",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 107
  },
  "hsl": {
    "h": 141.148,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.15755,
    "h": 151.5
  },
  "luminance": 0.37269
}

Semantic roles & 50–950 ramp

primary
#40BA6B
secondary
#C88EB3
accent
#4FA8D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40BA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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