#40BC7B#40BC7B

#40BC7B is a light, vivid green. Relative luminance 0.385; OKLCH L 71.0% C 0.145 H 156.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#40BC7B
RGBrgb(64, 188, 123)
HSLhsl(149, 49%, 49%)
HSVhsv(149, 66%, 74%)
CMYKcmyk(66%, 0%, 34.6%, 26.3%)
CIE-LABlab(68.38, -49.11, 23.15)
CIE-LCHlch(68.38, 54.29, 154.77°)
OKLaboklab(71.04% -0.1332 0.0583)
OKLCHoklch(71.04% 0.145 156.4)
XYZxyz(23.6706, 38.4840, 24.9157)
Luminance0.3849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC7B #BC4081
analogous
#43BC40 #40BC7B #40BCB9
triadic
#40BC7B #7B40BC #BC7B40
tetradic
#40BC7B #4043BC #BC4081 #BCB940
square
#40BC7B #4043BC #BC4081 #BCB940
split-complementary
#40BC7B #B940BC #BC4043
monochromatic
#21613F #308E5D #40BC7B #6CCD9A #9ADDBA

Accessibility & contrast

On white

2.41
#40BC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#40BC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC7B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC7B#FFFFFF#000000##000000
##40BC7B1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40bc7b;
/* rgb */ color: rgb(64, 188, 123);
/* oklch */ color: oklch(71.0% 0.145 156.4);
Tailwind
colors: {
  custom: {
    50: '#83d1a1',
    500: '#40bc7b',
    950: '#000000',
  },
}
SCSS
$custom: #40bc7b;
$custom-light: #83d1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc7b",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 123
  },
  "hsl": {
    "h": 148.548,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71043,
    "c": 0.14539,
    "h": 156.4
  },
  "luminance": 0.38486
}

Semantic roles & 50–950 ramp

primary
#40BC7B
secondary
#C98FAD
accent
#4F97D9
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140F
muted
#7D827E

Preview Lab

Preview with #40BC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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