#40BA39#40BA39

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

Color values

HEX#40BA39
RGBrgb(64, 186, 57)
HSLhsl(117, 53%, 48%)
HSVhsv(117, 69%, 73%)
CMYKcmyk(65.6%, 0%, 69.4%, 27.1%)
CIE-LABlab(66.90, -57.92, 53.18)
CIE-LCHlch(66.90, 78.63, 137.44°)
OKLaboklab(69.55% -0.1576 0.1217)
OKLCHoklch(69.55% 0.199 142.3)
XYZxyz(20.4106, 36.5011, 9.8399)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA39 #B339BA
analogous
#81BA39 #40BA39 #39BA72
triadic
#40BA39 #3940BA #BA3940
tetradic
#40BA39 #3981BA #B339BA #BA7239
square
#40BA39 #3981BA #B339BA #BA7239
split-complementary
#40BA39 #7239BA #BA3981
monochromatic
#205C1C #308B2B #40BA39 #67CF61 #94DD90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA39#FFFFFF#000000##000000
##40BA391.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)
#BEA926
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#26B4A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba39;
/* rgb */ color: rgb(64, 186, 57);
/* oklch */ color: oklch(69.6% 0.199 142.3);
Tailwind
colors: {
  custom: {
    50: '#84d076',
    500: '#40ba39',
    950: '#000000',
  },
}
SCSS
$custom: #40ba39;
$custom-light: #84d076;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba39",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 116.744,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69552,
    "c": 0.19913,
    "h": 142.3
  },
  "luminance": 0.36503
}

Semantic roles & 50–950 ramp

primary
#40BA39
secondary
#C487C8
accent
#4BDCD5
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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