#40BB4A#40BB4A

#40BB4A is a light, vivid green. Relative luminance 0.371; OKLCH L 70.0% C 0.188 H 144.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#40BB4A
RGBrgb(64, 187, 74)
HSLhsl(125, 49%, 49%)
HSVhsv(125, 66%, 73%)
CMYKcmyk(65.8%, 0%, 60.4%, 26.7%)
CIE-LABlab(67.37, -56.51, 46.46)
CIE-LCHlch(67.37, 73.15, 140.57°)
OKLaboklab(69.99% -0.153 0.1092)
OKLCHoklch(69.99% 0.188 144.5)
XYZxyz(21.1194, 37.1229, 12.5297)
Luminance0.3713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB4A #BB40B1
analogous
#74BB40 #40BB4A #40BB88
triadic
#40BB4A #4A40BB #BB4A40
tetradic
#40BB4A #4074BB #BB40B1 #BB8840
square
#40BB4A #4074BB #BB40B1 #BB8840
split-complementary
#40BB4A #8840BB #BB4074
monochromatic
#216026 #308D38 #40BB4A #6CCD74 #99DC9F

Accessibility & contrast

On white

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

On black

8.42
#40BB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB4A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB4A#FFFFFF#000000##000000
##40BB4A1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3E
Deuteranopia (green-blind)
#AFA053
Tritanopia (blue-blind)
#1FB6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb4a;
/* rgb */ color: rgb(64, 187, 74);
/* oklch */ color: oklch(70.0% 0.188 144.5);
Tailwind
colors: {
  custom: {
    50: '#84d080',
    500: '#40bb4a',
    950: '#000000',
  },
}
SCSS
$custom: #40bb4a;
$custom-light: #84d080;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb4a",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 124.878,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69988,
    "c": 0.18798,
    "h": 144.5
  },
  "luminance": 0.37125
}

Semantic roles & 50–950 ramp

primary
#40BB4A
secondary
#C88FC3
accent
#4FCDD9
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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