#40BA56#40BA56

#40BA56 is a light, vivid green. Relative luminance 0.369; OKLCH L 69.9% C 0.177 H 146.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#40BA56
RGBrgb(64, 186, 86)
HSLhsl(131, 49%, 49%)
HSVhsv(131, 66%, 73%)
CMYKcmyk(65.6%, 0%, 53.8%, 27.1%)
CIE-LABlab(67.19, -54.61, 40.60)
CIE-LCHlch(67.19, 68.05, 143.37°)
OKLaboklab(69.88% -0.1474 0.0974)
OKLCHoklch(69.88% 0.177 146.6)
XYZxyz(21.3515, 36.8775, 14.7951)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA56 #BA40A4
analogous
#67BA40 #40BA56 #40BA93
triadic
#40BA56 #5640BA #BA5640
tetradic
#40BA56 #4067BA #BA40A4 #BA9340
square
#40BA56 #4067BA #BA40A4 #BA9340
split-complementary
#40BA56 #9340BA #BA4067
monochromatic
#215F2C #308C41 #40BA56 #6BCC7D #99DCA5

Accessibility & contrast

On white

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

On black

8.38
#40BA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA56
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA56#FFFFFF#000000##000000
##40BA561.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4D
Deuteranopia (green-blind)
#AD9F5D
Tritanopia (blue-blind)
#1AB6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba56;
/* rgb */ color: rgb(64, 186, 86);
/* oklch */ color: oklch(69.9% 0.177 146.6);
Tailwind
colors: {
  custom: {
    50: '#83d088',
    500: '#40ba56',
    950: '#000000',
  },
}
SCSS
$custom: #40ba56;
$custom-light: #83d088;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba56",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 130.82,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.17669,
    "h": 146.6
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

primary
#40BA56
secondary
#C88EBD
accent
#4FC0D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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