#40BA41#40BA41

#40BA41 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.194 H 143.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#40BA41
RGBrgb(64, 186, 65)
HSLhsl(120, 49%, 49%)
HSVhsv(120, 66%, 73%)
CMYKcmyk(65.6%, 0%, 65.1%, 27.1%)
CIE-LABlab(66.97, -57.15, 49.97)
CIE-LCHlch(66.97, 75.91, 138.83°)
OKLaboklab(69.63% -0.1551 0.1158)
OKLCHoklch(69.63% 0.194 143.3)
XYZxyz(20.6262, 36.5873, 10.9751)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA41 #BA40B9
analogous
#7CBA40 #40BA41 #40BA7E
triadic
#40BA41 #4140BA #BA4140
tetradic
#40BA41 #407CBA #BA40B9 #BA7E40
square
#40BA41 #407CBA #BA40B9 #BA7E40
split-complementary
#40BA41 #7E40BA #BA407C
monochromatic
#215F21 #308C31 #40BA41 #6BCC6C #99DC99

Accessibility & contrast

On white

2.52
#40BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#40BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA41
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA41#FFFFFF#000000##000000
##40BA411.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA932
Deuteranopia (green-blind)
#AF9F4C
Tritanopia (blue-blind)
#24B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba41;
/* rgb */ color: rgb(64, 186, 65);
/* oklch */ color: oklch(69.6% 0.194 143.3);
Tailwind
colors: {
  custom: {
    50: '#84d07b',
    500: '#40ba41',
    950: '#000000',
  },
}
SCSS
$custom: #40ba41;
$custom-light: #84d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba41",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 120.492,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69627,
    "c": 0.1936,
    "h": 143.3
  },
  "luminance": 0.36589
}

Semantic roles & 50–950 ramp

primary
#40BA41
secondary
#C88EC7
accent
#4FD7D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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