#40BB3A#40BB3A

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

Color values

HEX#40BB3A
RGBrgb(64, 187, 58)
HSLhsl(117, 53%, 48%)
HSVhsv(117, 69%, 73%)
CMYKcmyk(65.8%, 0%, 69%, 26.7%)
CIE-LABlab(67.23, -58.17, 53.13)
CIE-LCHlch(67.23, 78.78, 137.59°)
OKLaboklab(69.83% -0.1583 0.1217)
OKLCHoklch(69.83% 0.2 142.4)
XYZxyz(20.6472, 36.9340, 10.0430)
Luminance0.3694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB3A #B53ABB
analogous
#81BB3A #40BB3A #3ABB74
triadic
#40BB3A #3A40BB #BB3A40
tetradic
#40BB3A #3A81BB #B53ABB #BB743A
square
#40BB3A #3A81BB #B53ABB #BB743A
split-complementary
#40BB3A #743ABB #BB3A81
monochromatic
#205E1D #308C2C #40BB3A #68CF63 #96DD92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BB3A#FFFFFF#000000##000000
##40BB3A1.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)
#BFAA27
Deuteranopia (green-blind)
#B0A046
Tritanopia (blue-blind)
#25B5A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb3a;
/* rgb */ color: rgb(64, 187, 58);
/* oklch */ color: oklch(69.8% 0.200 142.4);
Tailwind
colors: {
  custom: {
    50: '#85d177',
    500: '#40bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #40bb3a;
$custom-light: #85d177;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb3a",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 117.209,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69825,
    "c": 0.19965,
    "h": 142.4
  },
  "luminance": 0.36936
}

Semantic roles & 50–950 ramp

primary
#40BB3A
secondary
#C588C8
accent
#4CDCD5
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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