#40BA38#40BA38

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

Color values

HEX#40BA38
RGBrgb(64, 186, 56)
HSLhsl(116, 54%, 47%)
HSVhsv(116, 70%, 73%)
CMYKcmyk(65.6%, 0%, 69.9%, 27.1%)
CIE-LABlab(66.89, -58.00, 53.57)
CIE-LCHlch(66.89, 78.95, 137.28°)
OKLaboklab(69.54% -0.1579 0.1224)
OKLCHoklch(69.54% 0.2 142.2)
XYZxyz(20.3859, 36.4913, 9.7098)
Luminance0.3649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA38 #B238BA
analogous
#81BA38 #40BA38 #38BA71
triadic
#40BA38 #3840BA #BA3840
tetradic
#40BA38 #3881BA #B238BA #BA7138
square
#40BA38 #3881BA #B238BA #BA7138
split-complementary
#40BA38 #7138BA #BA3881
monochromatic
#205C1C #308B2A #40BA38 #67CF60 #94DD8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40ba38;
/* rgb */ color: rgb(64, 186, 56);
/* oklch */ color: oklch(69.5% 0.200 142.2);
Tailwind
colors: {
  custom: {
    50: '#84d076',
    500: '#40ba38',
    950: '#000000',
  },
}
SCSS
$custom: #40ba38;
$custom-light: #84d076;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba38",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 116.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69544,
    "c": 0.19978,
    "h": 142.2
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#40BA38
secondary
#C486C8
accent
#4BDDD4
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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