#40BB5B#40BB5B

#40BB5B is a light, vivid green. Relative luminance 0.374; OKLCH L 70.2% C 0.174 H 147.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#40BB5B
RGBrgb(64, 187, 91)
HSLhsl(133, 49%, 49%)
HSVhsv(133, 66%, 73%)
CMYKcmyk(65.8%, 0%, 51.3%, 26.7%)
CIE-LABlab(67.56, -54.26, 38.62)
CIE-LCHlch(67.56, 66.60, 144.56°)
OKLaboklab(70.21% -0.1464 0.0932)
OKLCHoklch(70.21% 0.174 147.5)
XYZxyz(21.7715, 37.3837, 15.9639)
Luminance0.3739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB5B #BB40A0
analogous
#63BB40 #40BB5B #40BB99
triadic
#40BB5B #5B40BB #BB5B40
tetradic
#40BB5B #4063BB #BB40A0 #BB9940
square
#40BB5B #4063BB #BB40A0 #BB9940
split-complementary
#40BB5B #9940BB #BB4063
monochromatic
#21602F #308D45 #40BB5B #6CCD81 #99DCA8

Accessibility & contrast

On white

2.48
#40BB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#40BB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB5B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB5B#FFFFFF#000000##000000
##40BB5B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#AEA062
Tritanopia (blue-blind)
#15B7A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bb5b;
/* rgb */ color: rgb(64, 187, 91);
/* oklch */ color: oklch(70.2% 0.174 147.5);
Tailwind
colors: {
  custom: {
    50: '#83d08b',
    500: '#40bb5b',
    950: '#000000',
  },
}
SCSS
$custom: #40bb5b;
$custom-light: #83d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb5b",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 133.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70212,
    "c": 0.17357,
    "h": 147.5
  },
  "luminance": 0.37386
}

Semantic roles & 50–950 ramp

primary
#40BB5B
secondary
#C88FBB
accent
#4FBAD9
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40BB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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