#40BC78#40BC78

#40BC78 is a light, vivid green. Relative luminance 0.384; OKLCH L 71.0% C 0.148 H 155.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#40BC78
RGBrgb(64, 188, 120)
HSLhsl(147, 49%, 49%)
HSVhsv(147, 66%, 74%)
CMYKcmyk(66%, 0%, 36.2%, 26.3%)
CIE-LABlab(68.32, -49.70, 24.67)
CIE-LCHlch(68.32, 55.48, 153.60°)
OKLaboklab(70.98% -0.1346 0.0619)
OKLCHoklch(70.98% 0.148 155.3)
XYZxyz(23.4857, 38.4100, 23.9418)
Luminance0.3841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC78 #BC4084
analogous
#46BC40 #40BC78 #40BCB6
triadic
#40BC78 #7840BC #BC7840
tetradic
#40BC78 #4046BC #BC4084 #BCB640
square
#40BC78 #4046BC #BC4084 #BCB640
split-complementary
#40BC78 #B640BC #BC4046
monochromatic
#21613E #308E5B #40BC78 #6CCD98 #9ADDB8

Accessibility & contrast

On white

2.42
#40BC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#40BC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC78
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC78#FFFFFF#000000##000000
##40BC781.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAD74
Deuteranopia (green-blind)
#ABA27C
Tritanopia (blue-blind)
#00BAAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bc78;
/* rgb */ color: rgb(64, 188, 120);
/* oklch */ color: oklch(71.0% 0.148 155.3);
Tailwind
colors: {
  custom: {
    50: '#83d19f',
    500: '#40bc78',
    950: '#000000',
  },
}
SCSS
$custom: #40bc78;
$custom-light: #83d19f;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc78",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 147.097,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70981,
    "c": 0.14815,
    "h": 155.3
  },
  "luminance": 0.38412
}

Semantic roles & 50–950 ramp

primary
#40BC78
secondary
#C98FAF
accent
#4F9BD9
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40BC78

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

Preview Lab → · Contrast checker → · Palette generator →

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