#40BA51#40BA51

#40BA51 is a light, vivid green. Relative luminance 0.368; OKLCH L 69.8% C 0.181 H 145.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40BA51
RGBrgb(64, 186, 81)
HSLhsl(128, 49%, 49%)
HSVhsv(128, 66%, 73%)
CMYKcmyk(65.6%, 0%, 56.5%, 27.1%)
CIE-LABlab(67.13, -55.28, 42.93)
CIE-LCHlch(67.13, 69.99, 142.17°)
OKLaboklab(69.81% -0.1494 0.1021)
OKLCHoklch(69.81% 0.181 145.6)
XYZxyz(21.1571, 36.7997, 13.7711)
Luminance0.3680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA51 #BA40A9
analogous
#6CBA40 #40BA51 #40BA8E
triadic
#40BA51 #5140BA #BA5140
tetradic
#40BA51 #406CBA #BA40A9 #BA8E40
square
#40BA51 #406CBA #BA40A9 #BA8E40
split-complementary
#40BA51 #8E40BA #BA406C
monochromatic
#215F29 #308C3D #40BA51 #6BCC79 #99DCA2

Accessibility & contrast

On white

2.51
#40BA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#40BA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA51
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA51#FFFFFF#000000##000000
##40BA511.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#AE9F59
Tritanopia (blue-blind)
#1DB6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba51;
/* rgb */ color: rgb(64, 186, 81);
/* oklch */ color: oklch(69.8% 0.181 145.6);
Tailwind
colors: {
  custom: {
    50: '#83d085',
    500: '#40ba51',
    950: '#000000',
  },
}
SCSS
$custom: #40ba51;
$custom-light: #83d085;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba51",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 128.361,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69811,
    "c": 0.18098,
    "h": 145.6
  },
  "luminance": 0.36802
}

Semantic roles & 50–950 ramp

primary
#40BA51
secondary
#C88EC0
accent
#4FC5D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BA51

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

Preview Lab → · Contrast checker → · Palette generator →

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