#40BC5C#40BC5C

#40BC5C is a light, vivid green. Relative luminance 0.378; OKLCH L 70.5% C 0.174 H 147.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#40BC5C
RGBrgb(64, 188, 92)
HSLhsl(134, 49%, 49%)
HSVhsv(134, 66%, 74%)
CMYKcmyk(66%, 0%, 51.1%, 26.3%)
CIE-LABlab(67.89, -54.48, 38.53)
CIE-LCHlch(67.89, 66.73, 144.73°)
OKLaboklab(70.49% -0.147 0.0931)
OKLCHoklch(70.49% 0.174 147.6)
XYZxyz(22.0278, 37.8268, 16.2636)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC5C #BC40A0
analogous
#62BC40 #40BC5C #40BC9A
triadic
#40BC5C #5C40BC #BC5C40
tetradic
#40BC5C #4062BC #BC40A0 #BC9A40
square
#40BC5C #4062BC #BC40A0 #BC9A40
split-complementary
#40BC5C #9A40BC #BC4062
monochromatic
#21612F #308E46 #40BC5C #6CCD82 #9ADDA9

Accessibility & contrast

On white

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

On black

8.57
#40BC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC5C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC5C#FFFFFF#000000##000000
##40BC5C1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC54
Deuteranopia (green-blind)
#AFA163
Tritanopia (blue-blind)
#13B8A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc5c;
/* rgb */ color: rgb(64, 188, 92);
/* oklch */ color: oklch(70.5% 0.174 147.6);
Tailwind
colors: {
  custom: {
    50: '#83d18c',
    500: '#40bc5c',
    950: '#000000',
  },
}
SCSS
$custom: #40bc5c;
$custom-light: #83d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc5c",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 92
  },
  "hsl": {
    "h": 133.548,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.17398,
    "h": 147.6
  },
  "luminance": 0.37829
}

Semantic roles & 50–950 ramp

primary
#40BC5C
secondary
#C98FBC
accent
#4FBAD9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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