#40BB3B#40BB3B

#40BB3B is a light, vivid green. Relative luminance 0.369; OKLCH L 69.8% C 0.199 H 142.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#40BB3B
RGBrgb(64, 187, 59)
HSLhsl(118, 52%, 48%)
HSVhsv(118, 68%, 73%)
CMYKcmyk(65.8%, 0%, 68.4%, 26.7%)
CIE-LABlab(67.24, -58.08, 52.74)
CIE-LCHlch(67.24, 78.45, 137.76°)
OKLaboklab(69.83% -0.158 0.121)
OKLCHoklch(69.83% 0.199 142.6)
XYZxyz(20.6729, 36.9443, 10.1783)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB3B #B63BBB
analogous
#80BB3B #40BB3B #3BBB76
triadic
#40BB3B #3B40BB #BB3B40
tetradic
#40BB3B #3B80BB #B63BBB #BB763B
square
#40BB3B #3B80BB #B63BBB #BB763B
split-complementary
#40BB3B #763BBB #BB3B80
monochromatic
#205E1E #308C2C #40BB3B #69CE65 #96DD93

Accessibility & contrast

On white

2.50
#40BB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#40BB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB3B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB3B#FFFFFF#000000##000000
##40BB3B1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#B0A047
Tritanopia (blue-blind)
#25B6A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb3b;
/* rgb */ color: rgb(64, 187, 59);
/* oklch */ color: oklch(69.8% 0.199 142.6);
Tailwind
colors: {
  custom: {
    50: '#84d177',
    500: '#40bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #40bb3b;
$custom-light: #84d177;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb3b",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 117.656,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69834,
    "c": 0.19898,
    "h": 142.6
  },
  "luminance": 0.36946
}

Semantic roles & 50–950 ramp

primary
#40BB3B
secondary
#C68AC8
accent
#4CDBD6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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