#40BD42#40BD42

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

Color values

HEX#40BD42
RGBrgb(64, 189, 66)
HSLhsl(121, 49%, 50%)
HSVhsv(121, 66%, 74%)
CMYKcmyk(66.1%, 0%, 65.1%, 25.9%)
CIE-LABlab(67.93, -58.09, 50.60)
CIE-LCHlch(67.93, 77.04, 138.94°)
OKLaboklab(70.43% -0.1577 0.1173)
OKLCHoklch(70.43% 0.196 143.4)
XYZxyz(21.2940, 37.8763, 11.3419)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BD42 #BD40BB
analogous
#7DBD40 #40BD42 #40BD81
triadic
#40BD42 #4240BD #BD4240
tetradic
#40BD42 #407DBD #BD40BB #BD8140
square
#40BD42 #407DBD #BD40BB #BD8140
split-complementary
#40BD42 #8140BD #BD407D
monochromatic
#216222 #318F32 #40BD42 #6DCD6E #9ADD9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BD42#FFFFFF#000000##000000
##40BD421.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)
#C1AC33
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#21B8A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bd42;
/* rgb */ color: rgb(64, 189, 66);
/* oklch */ color: oklch(70.4% 0.196 143.4);
Tailwind
colors: {
  custom: {
    50: '#85d27c',
    500: '#40bd42',
    950: '#000000',
  },
}
SCSS
$custom: #40bd42;
$custom-light: #85d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#40bd42",
  "rgb": {
    "r": 64,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 120.96,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.19648,
    "h": 143.4
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#40BD42
secondary
#C990C8
accent
#4FD7D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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