#40BA46#40BA46

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

Color values

HEX#40BA46
RGBrgb(64, 186, 70)
HSLhsl(123, 49%, 49%)
HSVhsv(123, 66%, 73%)
CMYKcmyk(65.6%, 0%, 62.4%, 27.1%)
CIE-LABlab(67.01, -56.61, 47.85)
CIE-LCHlch(67.01, 74.12, 139.80°)
OKLaboklab(69.68% -0.1534 0.1118)
OKLCHoklch(69.68% 0.19 143.9)
XYZxyz(20.7775, 36.6479, 11.7719)
Luminance0.3665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA46 #BA40B4
analogous
#77BA40 #40BA46 #40BA83
triadic
#40BA46 #4640BA #BA4640
tetradic
#40BA46 #4077BA #BA40B4 #BA8340
square
#40BA46 #4077BA #BA40B4 #BA8340
split-complementary
#40BA46 #8340BA #BA4077
monochromatic
#215F24 #308C35 #40BA46 #6BCC70 #99DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA46#FFFFFF#000000##000000
##40BA461.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)
#BEA939
Deuteranopia (green-blind)
#AF9F50
Tritanopia (blue-blind)
#22B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba46;
/* rgb */ color: rgb(64, 186, 70);
/* oklch */ color: oklch(69.7% 0.190 143.9);
Tailwind
colors: {
  custom: {
    50: '#84d07e',
    500: '#40ba46',
    950: '#000000',
  },
}
SCSS
$custom: #40ba46;
$custom-light: #84d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba46",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 122.951,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.18986,
    "h": 143.9
  },
  "luminance": 0.3665
}

Semantic roles & 50–950 ramp

primary
#40BA46
secondary
#C88EC5
accent
#4FD2D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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