#40BB51#40BB51

#40BB51 is a light, vivid green. Relative luminance 0.372; OKLCH L 70.1% C 0.182 H 145.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#40BB51
RGBrgb(64, 187, 81)
HSLhsl(128, 49%, 49%)
HSVhsv(128, 66%, 73%)
CMYKcmyk(65.8%, 0%, 56.7%, 26.7%)
CIE-LABlab(67.44, -55.64, 43.31)
CIE-LCHlch(67.44, 70.51, 142.11°)
OKLaboklab(70.07% -0.1504 0.103)
OKLCHoklch(70.07% 0.182 145.6)
XYZxyz(21.3685, 37.2225, 13.8415)
Luminance0.3723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB51 #BB40AA
analogous
#6DBB40 #40BB51 #40BB8F
triadic
#40BB51 #5140BB #BB5140
tetradic
#40BB51 #406DBB #BB40AA #BB8F40
square
#40BB51 #406DBB #BB40AA #BB8F40
split-complementary
#40BB51 #8F40BB #BB406D
monochromatic
#21602A #308D3D #40BB51 #6CCD79 #99DCA2

Accessibility & contrast

On white

2.49
#40BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#40BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB51
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB51#FFFFFF#000000##000000
##40BB511.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB47
Deuteranopia (green-blind)
#AFA059
Tritanopia (blue-blind)
#1CB7A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb51;
/* rgb */ color: rgb(64, 187, 81);
/* oklch */ color: oklch(70.1% 0.182 145.6);
Tailwind
colors: {
  custom: {
    50: '#84d085',
    500: '#40bb51',
    950: '#000000',
  },
}
SCSS
$custom: #40bb51;
$custom-light: #84d085;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb51",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 128.293,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.18225,
    "h": 145.6
  },
  "luminance": 0.37225
}

Semantic roles & 50–950 ramp

primary
#40BB51
secondary
#C88FC0
accent
#4FC6D9
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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