#40BA6C#40BA6C

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

Color values

HEX#40BA6C
RGBrgb(64, 186, 108)
HSLhsl(142, 49%, 49%)
HSVhsv(142, 66%, 73%)
CMYKcmyk(65.6%, 0%, 41.9%, 27.1%)
CIE-LABlab(67.49, -51.14, 29.88)
CIE-LCHlch(67.49, 59.23, 149.70°)
OKLaboklab(70.23% -0.138 0.074)
OKLCHoklch(70.23% 0.157 151.8)
XYZxyz(22.3782, 37.2882, 20.2024)
Luminance0.3729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA6C #BA408E
analogous
#51BA40 #40BA6C #40BAA9
triadic
#40BA6C #6C40BA #BA6C40
tetradic
#40BA6C #4051BA #BA408E #BAA940
square
#40BA6C #4051BA #BA408E #BAA940
split-complementary
#40BA6C #A940BA #BA4051
monochromatic
#215F37 #308C52 #40BA6C #6BCC8E #99DCB1

Accessibility & contrast

On white

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

On black

8.46
#40BA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA6C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA6C#FFFFFF#000000##000000
##40BA6C1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB66
Deuteranopia (green-blind)
#ABA071
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba6c;
/* rgb */ color: rgb(64, 186, 108);
/* oklch */ color: oklch(70.2% 0.157 151.8);
Tailwind
colors: {
  custom: {
    50: '#83d097',
    500: '#40ba6c',
    950: '#000000',
  },
}
SCSS
$custom: #40ba6c;
$custom-light: #83d097;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba6c",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 108
  },
  "hsl": {
    "h": 141.639,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.15661,
    "h": 151.8
  },
  "luminance": 0.37291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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