#40BB4F#40BB4F

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

Color values

HEX#40BB4F
RGBrgb(64, 187, 79)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 66%, 73%)
CMYKcmyk(65.8%, 0%, 57.8%, 26.7%)
CIE-LABlab(67.42, -55.90, 44.22)
CIE-LCHlch(67.42, 71.27, 141.65°)
OKLaboklab(70.05% -0.1511 0.1048)
OKLCHoklch(70.05% 0.184 145.3)
XYZxyz(21.2946, 37.1930, 13.4524)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB4F #BB40AC
analogous
#6FBB40 #40BB4F #40BB8D
triadic
#40BB4F #4F40BB #BB4F40
tetradic
#40BB4F #406FBB #BB40AC #BB8D40
square
#40BB4F #406FBB #BB40AC #BB8D40
split-complementary
#40BB4F #8D40BB #BB406F
monochromatic
#216028 #308D3C #40BB4F #6CCD77 #99DCA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BB4F#FFFFFF#000000##000000
##40BB4F1.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)
#BEAA44
Deuteranopia (green-blind)
#AFA058
Tritanopia (blue-blind)
#1DB6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb4f;
/* rgb */ color: rgb(64, 187, 79);
/* oklch */ color: oklch(70.0% 0.184 145.3);
Tailwind
colors: {
  custom: {
    50: '#84d083',
    500: '#40bb4f',
    950: '#000000',
  },
}
SCSS
$custom: #40bb4f;
$custom-light: #84d083;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb4f",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 127.317,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70048,
    "c": 0.18392,
    "h": 145.3
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#40BB4F
secondary
#C88FC1
accent
#4FC8D9
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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