#40BA47#40BA47

#40BA47 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.7% C 0.189 H 144.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#40BA47
RGBrgb(64, 186, 71)
HSLhsl(123, 49%, 49%)
HSVhsv(123, 66%, 73%)
CMYKcmyk(65.6%, 0%, 61.8%, 27.1%)
CIE-LABlab(67.02, -56.50, 47.41)
CIE-LCHlch(67.02, 73.76, 140.00°)
OKLaboklab(69.69% -0.1531 0.111)
OKLCHoklch(69.69% 0.189 144.1)
XYZxyz(20.8093, 36.6606, 11.9396)
Luminance0.3666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA47 #BA40B3
analogous
#76BA40 #40BA47 #40BA84
triadic
#40BA47 #4740BA #BA4740
tetradic
#40BA47 #4076BA #BA40B3 #BA8440
square
#40BA47 #4076BA #BA40B3 #BA8440
split-complementary
#40BA47 #8440BA #BA4076
monochromatic
#215F24 #308C36 #40BA47 #6BCC71 #99DC9C

Accessibility & contrast

On white

2.52
#40BA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#40BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA47
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA47#FFFFFF#000000##000000
##40BA471.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93A
Deuteranopia (green-blind)
#AF9F51
Tritanopia (blue-blind)
#21B5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba47;
/* rgb */ color: rgb(64, 186, 71);
/* oklch */ color: oklch(69.7% 0.189 144.1);
Tailwind
colors: {
  custom: {
    50: '#84d07e',
    500: '#40ba47',
    950: '#000000',
  },
}
SCSS
$custom: #40ba47;
$custom-light: #84d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba47",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 123.443,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.18909,
    "h": 144.1
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#40BA47
secondary
#C88EC4
accent
#4FD1D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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