#40BC3C#40BC3C

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

Color values

HEX#40BC3C
RGBrgb(64, 188, 60)
HSLhsl(118, 52%, 49%)
HSVhsv(118, 68%, 74%)
CMYKcmyk(66%, 0%, 68.1%, 26.3%)
CIE-LABlab(67.56, -58.33, 52.69)
CIE-LCHlch(67.56, 78.60, 137.91°)
OKLaboklab(70.11% -0.1586 0.121)
OKLCHoklch(70.11% 0.199 142.7)
XYZxyz(20.9120, 37.3805, 10.3872)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC3C #B83CBC
analogous
#80BC3C #40BC3C #3CBC78
triadic
#40BC3C #3C40BC #BC3C40
tetradic
#40BC3C #3C80BC #B83CBC #BC783C
square
#40BC3C #3C80BC #B83CBC #BC783C
split-complementary
#40BC3C #783CBC #BC3C80
monochromatic
#205F1E #308E2D #40BC3C #6ACE67 #97DD95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC3C#FFFFFF#000000##000000
##40BC3C1.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)
#C0AB2A
Deuteranopia (green-blind)
#B1A148
Tritanopia (blue-blind)
#24B7A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc3c;
/* rgb */ color: rgb(64, 188, 60);
/* oklch */ color: oklch(70.1% 0.199 142.7);
Tailwind
colors: {
  custom: {
    50: '#85d178',
    500: '#40bc3c',
    950: '#000000',
  },
}
SCSS
$custom: #40bc3c;
$custom-light: #85d178;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc3c",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 60
  },
  "hsl": {
    "h": 118.125,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70106,
    "c": 0.19949,
    "h": 142.7
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#40BC3C
secondary
#C78BC9
accent
#4DDBD7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #40BC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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