#40BB40#40BB40

#40BB40 is a light, vivid green. Relative luminance 0.370; OKLCH L 69.9% C 0.196 H 143.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#40BB40
RGBrgb(64, 187, 64)
HSLhsl(120, 49%, 49%)
HSVhsv(120, 66%, 73%)
CMYKcmyk(65.8%, 0%, 65.8%, 26.7%)
CIE-LABlab(67.28, -57.60, 50.73)
CIE-LCHlch(67.28, 76.75, 138.63°)
OKLaboklab(69.88% -0.1564 0.1173)
OKLCHoklch(69.88% 0.196 143.1)
XYZxyz(20.8089, 36.9987, 10.8943)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB40 #BB40BB
analogous
#7EBB40 #40BB40 #40BB7E
triadic
#40BB40 #4040BB #BB4040
tetradic
#40BB40 #407EBB #BB40BB #BB7E40
square
#40BB40 #407EBB #BB40BB #BB7E40
split-complementary
#40BB40 #7E40BB #BB407E
monochromatic
#216021 #308D30 #40BB40 #6CCD6C #99DC99

Accessibility & contrast

On white

2.50
#40BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#40BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB40
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB40#FFFFFF#000000##000000
##40BB401.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#B0A04B
Tritanopia (blue-blind)
#23B6A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb40;
/* rgb */ color: rgb(64, 187, 64);
/* oklch */ color: oklch(69.9% 0.196 143.1);
Tailwind
colors: {
  custom: {
    50: '#84d07a',
    500: '#40bb40',
    950: '#000000',
  },
}
SCSS
$custom: #40bb40;
$custom-light: #84d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb40",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69881,
    "c": 0.19553,
    "h": 143.1
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#40BB40
secondary
#C88FC8
accent
#4FD9D9
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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