#40BA59#40BA59

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

Color values

HEX#40BA59
RGBrgb(64, 186, 89)
HSLhsl(132, 49%, 49%)
HSVhsv(132, 66%, 73%)
CMYKcmyk(65.6%, 0%, 52.2%, 27.1%)
CIE-LABlab(67.22, -54.18, 39.18)
CIE-LCHlch(67.22, 66.86, 144.13°)
OKLaboklab(69.92% -0.1462 0.0944)
OKLCHoklch(69.92% 0.174 147.2)
XYZxyz(21.4749, 36.9268, 15.4451)
Luminance0.3693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA59 #BA40A1
analogous
#64BA40 #40BA59 #40BA96
triadic
#40BA59 #5940BA #BA5940
tetradic
#40BA59 #4064BA #BA40A1 #BA9640
square
#40BA59 #4064BA #BA40A1 #BA9640
split-complementary
#40BA59 #9640BA #BA4064
monochromatic
#215F2D #308C43 #40BA59 #6BCC7F #99DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA59#FFFFFF#000000##000000
##40BA591.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)
#BCAA51
Deuteranopia (green-blind)
#ADA060
Tritanopia (blue-blind)
#17B6A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba59;
/* rgb */ color: rgb(64, 186, 89);
/* oklch */ color: oklch(69.9% 0.174 147.2);
Tailwind
colors: {
  custom: {
    50: '#83d08a',
    500: '#40ba59',
    950: '#000000',
  },
}
SCSS
$custom: #40ba59;
$custom-light: #83d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba59",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 132.295,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.17405,
    "h": 147.2
  },
  "luminance": 0.36929
}

Semantic roles & 50–950 ramp

primary
#40BA59
secondary
#C88EBC
accent
#4FBCD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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