#40BC5F#40BC5F

#40BC5F is a light, vivid green. Relative luminance 0.379; OKLCH L 70.5% C 0.171 H 148.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#40BC5F
RGBrgb(64, 188, 95)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 66%, 74%)
CMYKcmyk(66%, 0%, 49.5%, 26.3%)
CIE-LABlab(67.93, -54.03, 37.08)
CIE-LCHlch(67.93, 65.53, 145.54°)
OKLaboklab(70.53% -0.1457 0.09)
OKLCHoklch(70.53% 0.171 148.3)
XYZxyz(22.1615, 37.8803, 16.9680)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC5F #BC409D
analogous
#5FBC40 #40BC5F #40BC9D
triadic
#40BC5F #5F40BC #BC5F40
tetradic
#40BC5F #405FBC #BC409D #BC9D40
square
#40BC5F #405FBC #BC409D #BC9D40
split-complementary
#40BC5F #9D40BC #BC405F
monochromatic
#216131 #308E48 #40BC5F #6CCD84 #9ADDAB

Accessibility & contrast

On white

2.45
#40BC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#40BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC5F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC5F#FFFFFF#000000##000000
##40BC5F1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC57
Deuteranopia (green-blind)
#AEA166
Tritanopia (blue-blind)
#10B8A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40bc5f;
/* rgb */ color: rgb(64, 188, 95);
/* oklch */ color: oklch(70.5% 0.171 148.3);
Tailwind
colors: {
  custom: {
    50: '#83d18e',
    500: '#40bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #40bc5f;
$custom-light: #83d18e;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc5f",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 135,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.17129,
    "h": 148.3
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#40BC5F
secondary
#C98FBA
accent
#4FB6D9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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