#40BE42#40BE42

#40BE42 is a light, vivid green. Relative luminance 0.383; OKLCH L 70.7% C 0.198 H 143.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#40BE42
RGBrgb(64, 190, 66)
HSLhsl(121, 50%, 50%)
HSVhsv(121, 66%, 75%)
CMYKcmyk(66.3%, 0%, 65.3%, 25.5%)
CIE-LABlab(68.25, -58.44, 50.95)
CIE-LCHlch(68.25, 77.53, 138.91°)
OKLaboklab(70.69% -0.1586 0.118)
OKLCHoklch(70.69% 0.198 143.3)
XYZxyz(21.5099, 38.3080, 11.4138)
Luminance0.3831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BE42 #BE40BC
analogous
#7DBE40 #40BE42 #40BE81
triadic
#40BE42 #4240BE #BE4240
tetradic
#40BE42 #407DBE #BE40BC #BE8140
square
#40BE42 #407DBE #BE40BC #BE8140
split-complementary
#40BE42 #8140BE #BE407D
monochromatic
#216222 #319032 #40BE42 #6DCE6F #9BDD9C

Accessibility & contrast

On white

2.42
#40BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#40BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BE42
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BE42#FFFFFF#000000##000000
##40BE421.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#B3A24D
Tritanopia (blue-blind)
#21B9A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40be42;
/* rgb */ color: rgb(64, 190, 66);
/* oklch */ color: oklch(70.7% 0.198 143.3);
Tailwind
colors: {
  custom: {
    50: '#85d37c',
    500: '#40be42',
    950: '#000000',
  },
}
SCSS
$custom: #40be42;
$custom-light: #85d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#40be42",
  "rgb": {
    "r": 64,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 120.952,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7069,
    "c": 0.19768,
    "h": 143.3
  },
  "luminance": 0.3831
}

Semantic roles & 50–950 ramp

primary
#40BE42
secondary
#C990C9
accent
#4FD7D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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