#40BA42#40BA42

#40BA42 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.193 H 143.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#40BA42
RGBrgb(64, 186, 66)
HSLhsl(121, 49%, 49%)
HSVhsv(121, 66%, 73%)
CMYKcmyk(65.6%, 0%, 64.5%, 27.1%)
CIE-LABlab(66.98, -57.04, 49.55)
CIE-LCHlch(66.98, 75.56, 139.02°)
OKLaboklab(69.64% -0.1548 0.115)
OKLCHoklch(69.64% 0.193 143.4)
XYZxyz(20.6554, 36.5990, 11.1290)
Luminance0.3660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA42 #BA40B8
analogous
#7BBA40 #40BA42 #40BA7F
triadic
#40BA42 #4240BA #BA4240
tetradic
#40BA42 #407BBA #BA40B8 #BA7F40
square
#40BA42 #407BBA #BA40B8 #BA7F40
split-complementary
#40BA42 #7F40BA #BA407B
monochromatic
#215F22 #308C32 #40BA42 #6BCC6D #99DC9A

Accessibility & contrast

On white

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

On black

8.32
#40BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA42
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA42#FFFFFF#000000##000000
##40BA421.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA933
Deuteranopia (green-blind)
#AF9F4D
Tritanopia (blue-blind)
#23B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba42;
/* rgb */ color: rgb(64, 186, 66);
/* oklch */ color: oklch(69.6% 0.193 143.4);
Tailwind
colors: {
  custom: {
    50: '#84d07b',
    500: '#40ba42',
    950: '#000000',
  },
}
SCSS
$custom: #40ba42;
$custom-light: #84d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba42",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 120.984,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69637,
    "c": 0.19287,
    "h": 143.4
  },
  "luminance": 0.36601
}

Semantic roles & 50–950 ramp

primary
#40BA42
secondary
#C88EC7
accent
#4FD6D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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