#40BC3F#40BC3F

#40BC3F is a light, vivid green. Relative luminance 0.374; OKLCH L 70.1% C 0.197 H 143.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#40BC3F
RGBrgb(64, 188, 63)
HSLhsl(120, 50%, 49%)
HSVhsv(120, 66%, 74%)
CMYKcmyk(66%, 0%, 66.5%, 26.3%)
CIE-LABlab(67.59, -58.04, 51.49)
CIE-LCHlch(67.59, 77.59, 138.43°)
OKLaboklab(70.13% -0.1577 0.1188)
OKLCHoklch(70.13% 0.197 143)
XYZxyz(20.9936, 37.4132, 10.8168)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC3F #BB3FBC
analogous
#7FBC3F #40BC3F #3FBC7D
triadic
#40BC3F #3F40BC #BC3F40
tetradic
#40BC3F #3F7FBC #BB3FBC #BC7D3F
square
#40BC3F #3F7FBC #BB3FBC #BC7D3F
split-complementary
#40BC3F #7D3FBC #BC3F7F
monochromatic
#216020 #308E30 #40BC3F #6CCD6B #99DD99

Accessibility & contrast

On white

2.48
#40BC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#40BC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC3F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC3F#FFFFFF#000000##000000
##40BC3F1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2F
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#23B7A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc3f;
/* rgb */ color: rgb(64, 188, 63);
/* oklch */ color: oklch(70.1% 0.197 143.0);
Tailwind
colors: {
  custom: {
    50: '#84d17a',
    500: '#40bc3f',
    950: '#000000',
  },
}
SCSS
$custom: #40bc3f;
$custom-light: #84d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc3f",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 119.52,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.19742,
    "h": 143
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#40BC3F
secondary
#C88EC9
accent
#4ED9D8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #40BC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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