#40BD40#40BD40

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

Color values

HEX#40BD40
RGBrgb(64, 189, 64)
HSLhsl(120, 49%, 50%)
HSVhsv(120, 66%, 74%)
CMYKcmyk(66.1%, 0%, 66.1%, 25.9%)
CIE-LABlab(67.91, -58.29, 51.42)
CIE-LCHlch(67.91, 77.73, 138.58°)
OKLaboklab(70.41% -0.1583 0.1188)
OKLCHoklch(70.41% 0.198 143.1)
XYZxyz(21.2361, 37.8532, 11.0367)
Luminance0.3785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BD40 #BD40BD
analogous
#7FBD40 #40BD40 #40BD7F
triadic
#40BD40 #4040BD #BD4040
tetradic
#40BD40 #407FBD #BD40BD #BD7F40
square
#40BD40 #407FBD #BD40BD #BD7F40
split-complementary
#40BD40 #7F40BD #BD407F
monochromatic
#216221 #318F31 #40BD40 #6DCD6D #9ADD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BD40#FFFFFF#000000##000000
##40BD401.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)
#C1AC30
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#22B8A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bd40;
/* rgb */ color: rgb(64, 189, 64);
/* oklch */ color: oklch(70.4% 0.198 143.1);
Tailwind
colors: {
  custom: {
    50: '#85d27a',
    500: '#40bd40',
    950: '#000000',
  },
}
SCSS
$custom: #40bd40;
$custom-light: #85d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#40bd40",
  "rgb": {
    "r": 64,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.19791,
    "h": 143.1
  },
  "luminance": 0.37855
}

Semantic roles & 50–950 ramp

primary
#40BD40
secondary
#C990C9
accent
#4FD9D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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