#40BC31#40BC31

#40BC31 is a light, highly saturated green. Relative luminance 0.373; OKLCH L 70.0% C 0.206 H 141.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#40BC31
RGBrgb(64, 188, 49)
HSLhsl(114, 59%, 46%)
HSVhsv(114, 74%, 74%)
CMYKcmyk(66%, 0%, 73.9%, 26.3%)
CIE-LABlab(67.48, -59.26, 56.78)
CIE-LCHlch(67.48, 82.07, 136.22°)
OKLaboklab(70.02% -0.1617 0.1282)
OKLCHoklch(70.02% 0.206 141.6)
XYZxyz(20.6508, 37.2761, 9.0118)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC31 #AD31BC
analogous
#86BC31 #40BC31 #31BC68
triadic
#40BC31 #3140BC #BC3140
tetradic
#40BC31 #3186BC #AD31BC #BC6831
square
#40BC31 #3186BC #AD31BC #BC6831
split-complementary
#40BC31 #6831BC #BC3186
monochromatic
#1F5B18 #2F8B24 #40BC31 #64D357 #91E088

Accessibility & contrast

On white

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

On black

8.46
#40BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC31
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC31#FFFFFF#000000##000000
##40BC311.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA16
Deuteranopia (green-blind)
#B2A140
Tritanopia (blue-blind)
#27B6A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bc31;
/* rgb */ color: rgb(64, 188, 49);
/* oklch */ color: oklch(70.0% 0.206 141.6);
Tailwind
colors: {
  custom: {
    50: '#85d172',
    500: '#40bc31',
    950: '#000000',
  },
}
SCSS
$custom: #40bc31;
$custom-light: #85d172;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc31",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 113.525,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.20633,
    "h": 141.6
  },
  "luminance": 0.37278
}

Semantic roles & 50–950 ramp

primary
#40BC31
secondary
#C27FCA
accent
#46E2D1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #40BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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