#40BC5E#40BC5E

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

Color values

HEX#40BC5E
RGBrgb(64, 188, 94)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 66%, 74%)
CMYKcmyk(66%, 0%, 50%, 26.3%)
CIE-LABlab(67.92, -54.18, 37.57)
CIE-LCHlch(67.92, 65.93, 145.27°)
OKLaboklab(70.52% -0.1461 0.0911)
OKLCHoklch(70.52% 0.172 148.1)
XYZxyz(22.1163, 37.8623, 16.7301)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC5E #BC409E
analogous
#60BC40 #40BC5E #40BC9C
triadic
#40BC5E #5E40BC #BC5E40
tetradic
#40BC5E #4060BC #BC409E #BC9C40
square
#40BC5E #4060BC #BC409E #BC9C40
split-complementary
#40BC5E #9C40BC #BC4060
monochromatic
#216130 #308E47 #40BC5E #6CCD84 #9ADDAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC5E#FFFFFF#000000##000000
##40BC5E1.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)
#BEAC56
Deuteranopia (green-blind)
#AFA165
Tritanopia (blue-blind)
#11B8A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc5e;
/* rgb */ color: rgb(64, 188, 94);
/* oklch */ color: oklch(70.5% 0.172 148.1);
Tailwind
colors: {
  custom: {
    50: '#83d18d',
    500: '#40bc5e',
    950: '#000000',
  },
}
SCSS
$custom: #40bc5e;
$custom-light: #83d18d;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc5e",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 94
  },
  "hsl": {
    "h": 134.516,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.17219,
    "h": 148.1
  },
  "luminance": 0.37865
}

Semantic roles & 50–950 ramp

primary
#40BC5E
secondary
#C98FBB
accent
#4FB7D9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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