#40BA3A#40BA3A

#40BA3A is a light, vivid green. Relative luminance 0.365; OKLCH L 69.6% C 0.198 H 142.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#40BA3A
RGBrgb(64, 186, 58)
HSLhsl(117, 52%, 48%)
HSVhsv(117, 69%, 73%)
CMYKcmyk(65.6%, 0%, 68.8%, 27.1%)
CIE-LABlab(66.91, -57.83, 52.79)
CIE-LCHlch(66.91, 78.30, 137.60°)
OKLaboklab(69.56% -0.1573 0.121)
OKLCHoklch(69.56% 0.198 142.4)
XYZxyz(20.4358, 36.5112, 9.9726)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3A #B43ABA
analogous
#80BA3A #40BA3A #3ABA74
triadic
#40BA3A #3A40BA #BA3A40
tetradic
#40BA3A #3A80BA #B43ABA #BA743A
square
#40BA3A #3A80BA #B43ABA #BA743A
split-complementary
#40BA3A #743ABA #BA3A80
monochromatic
#205D1D #308B2B #40BA3A #68CE63 #95DD92

Accessibility & contrast

On white

2.53
#40BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#40BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA3A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA3A#FFFFFF#000000##000000
##40BA3A1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#26B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba3a;
/* rgb */ color: rgb(64, 186, 58);
/* oklch */ color: oklch(69.6% 0.198 142.4);
Tailwind
colors: {
  custom: {
    50: '#84d077',
    500: '#40ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3a;
$custom-light: #84d077;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3a",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 117.188,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.19847,
    "h": 142.4
  },
  "luminance": 0.36513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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