#40BC79#40BC79

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

Color values

HEX#40BC79
RGBrgb(64, 188, 121)
HSLhsl(148, 49%, 49%)
HSVhsv(148, 66%, 74%)
CMYKcmyk(66%, 0%, 35.6%, 26.3%)
CIE-LABlab(68.34, -49.51, 24.16)
CIE-LCHlch(68.34, 55.09, 153.99°)
OKLaboklab(71% -0.1341 0.0607)
OKLCHoklch(71% 0.147 155.7)
XYZxyz(23.5467, 38.4344, 24.2631)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC79 #BC4083
analogous
#45BC40 #40BC79 #40BCB7
triadic
#40BC79 #7940BC #BC7940
tetradic
#40BC79 #4045BC #BC4083 #BCB740
square
#40BC79 #4045BC #BC4083 #BCB740
split-complementary
#40BC79 #B740BC #BC4045
monochromatic
#21613E #308E5C #40BC79 #6CCD99 #9ADDB9

Accessibility & contrast

On white

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

On black

8.69
#40BC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC79
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC79#FFFFFF#000000##000000
##40BC791.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40bc79;
/* rgb */ color: rgb(64, 188, 121);
/* oklch */ color: oklch(71.0% 0.147 155.7);
Tailwind
colors: {
  custom: {
    50: '#83d1a0',
    500: '#40bc79',
    950: '#000000',
  },
}
SCSS
$custom: #40bc79;
$custom-light: #83d1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc79",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 121
  },
  "hsl": {
    "h": 147.581,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71001,
    "c": 0.14723,
    "h": 155.7
  },
  "luminance": 0.38437
}

Semantic roles & 50–950 ramp

primary
#40BC79
secondary
#C98FAE
accent
#4F99D9
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40BC79

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

Preview Lab → · Contrast checker → · Palette generator →

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