#40BC3E#40BC3E

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

Color values

HEX#40BC3E
RGBrgb(64, 188, 62)
HSLhsl(119, 50%, 49%)
HSVhsv(119, 67%, 74%)
CMYKcmyk(66%, 0%, 67%, 26.3%)
CIE-LABlab(67.58, -58.14, 51.89)
CIE-LCHlch(67.58, 77.93, 138.25°)
OKLaboklab(70.13% -0.158 0.1196)
OKLCHoklch(70.13% 0.198 142.9)
XYZxyz(20.9659, 37.4021, 10.6709)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC3E #BA3EBC
analogous
#7FBC3E #40BC3E #3EBC7B
triadic
#40BC3E #3E40BC #BC3E40
tetradic
#40BC3E #3E7FBC #BA3EBC #BC7B3E
square
#40BC3E #3E7FBC #BA3EBC #BC7B3E
split-complementary
#40BC3E #7B3EBC #BC3E7F
monochromatic
#216020 #308E2F #40BC3E #6BCE6A #99DD98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC3E#FFFFFF#000000##000000
##40BC3E1.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)
#C0AB2D
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#23B7A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc3e;
/* rgb */ color: rgb(64, 188, 62);
/* oklch */ color: oklch(70.1% 0.198 142.9);
Tailwind
colors: {
  custom: {
    50: '#85d179',
    500: '#40bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #40bc3e;
$custom-light: #85d179;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc3e",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 119.048,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.19812,
    "h": 142.9
  },
  "luminance": 0.37404
}

Semantic roles & 50–950 ramp

primary
#40BC3E
secondary
#C88DC9
accent
#4EDAD8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #40BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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