#40BB4E#40BB4E

#40BB4E is a light, vivid green. Relative luminance 0.372; OKLCH L 70.0% C 0.185 H 145.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#40BB4E
RGBrgb(64, 187, 78)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 66%, 73%)
CMYKcmyk(65.8%, 0%, 58.3%, 26.7%)
CIE-LABlab(67.41, -56.02, 44.67)
CIE-LCHlch(67.41, 71.65, 141.43°)
OKLaboklab(70.04% -0.1515 0.1057)
OKLCHoklch(70.04% 0.185 145.1)
XYZxyz(21.2584, 37.1785, 13.2621)
Luminance0.3718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB4E #BB40AD
analogous
#70BB40 #40BB4E #40BB8C
triadic
#40BB4E #4E40BB #BB4E40
tetradic
#40BB4E #4070BB #BB40AD #BB8C40
square
#40BB4E #4070BB #BB40AD #BB8C40
split-complementary
#40BB4E #8C40BB #BB4070
monochromatic
#216028 #308D3B #40BB4E #6CCD77 #99DCA1

Accessibility & contrast

On white

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

On black

8.44
#40BB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB4E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB4E#FFFFFF#000000##000000
##40BB4E1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA43
Deuteranopia (green-blind)
#AFA057
Tritanopia (blue-blind)
#1DB6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb4e;
/* rgb */ color: rgb(64, 187, 78);
/* oklch */ color: oklch(70.0% 0.185 145.1);
Tailwind
colors: {
  custom: {
    50: '#84d083',
    500: '#40bb4e',
    950: '#000000',
  },
}
SCSS
$custom: #40bb4e;
$custom-light: #84d083;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb4e",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 126.829,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.18475,
    "h": 145.1
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#40BB4E
secondary
#C88FC2
accent
#4FC9D9
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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