#40BF4C#40BF4C

#40BF4C is a light, vivid green. Relative luminance 0.389; OKLCH L 71.1% C 0.191 H 144.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#40BF4C
RGBrgb(64, 191, 76)
HSLhsl(126, 50%, 50%)
HSVhsv(126, 66%, 75%)
CMYKcmyk(66.5%, 0%, 60.2%, 25.1%)
CIE-LABlab(68.66, -57.68, 47.03)
CIE-LCHlch(68.66, 74.43, 140.81°)
OKLaboklab(71.06% -0.1561 0.1106)
OKLCHoklch(71.06% 0.191 144.7)
XYZxyz(22.0483, 38.8711, 13.1770)
Luminance0.3887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF4C #BF40B3
analogous
#74BF40 #40BF4C #40BF8B
triadic
#40BF4C #4C40BF #BF4C40
tetradic
#40BF4C #4074BF #BF40B3 #BF8B40
square
#40BF4C #4074BF #BF40B3 #BF8B40
split-complementary
#40BF4C #8B40BF #BF4074
monochromatic
#216328 #31913A #40BF4C #6ECE77 #9CDEA2

Accessibility & contrast

On white

2.39
#40BF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#40BF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF4C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF4C#FFFFFF#000000##000000
##40BF4C1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE40
Deuteranopia (green-blind)
#B3A355
Tritanopia (blue-blind)
#1CBAA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf4c;
/* rgb */ color: rgb(64, 191, 76);
/* oklch */ color: oklch(71.1% 0.191 144.7);
Tailwind
colors: {
  custom: {
    50: '#85d382',
    500: '#40bf4c',
    950: '#000000',
  },
}
SCSS
$custom: #40bf4c;
$custom-light: #85d382;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf4c",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 125.669,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.19132,
    "h": 144.7
  },
  "luminance": 0.38873
}

Semantic roles & 50–950 ramp

primary
#40BF4C
secondary
#CA91C4
accent
#4ECCD9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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