#40BC4F#40BC4F

#40BC4F is a light, vivid green. Relative luminance 0.376; OKLCH L 70.3% C 0.185 H 145.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#40BC4F
RGBrgb(64, 188, 79)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 66%, 74%)
CMYKcmyk(66%, 0%, 58%, 26.3%)
CIE-LABlab(67.74, -56.26, 44.59)
CIE-LCHlch(67.74, 71.78, 141.60°)
OKLaboklab(70.31% -0.1521 0.1056)
OKLCHoklch(70.31% 0.185 145.2)
XYZxyz(21.5075, 37.6187, 13.5233)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC4F #BC40AD
analogous
#6FBC40 #40BC4F #40BC8D
triadic
#40BC4F #4F40BC #BC4F40
tetradic
#40BC4F #406FBC #BC40AD #BC8D40
square
#40BC4F #406FBC #BC40AD #BC8D40
split-complementary
#40BC4F #8D40BC #BC406F
monochromatic
#216129 #308E3C #40BC4F #6CCD78 #9ADDA2

Accessibility & contrast

On white

2.46
#40BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#40BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC4F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC4F#FFFFFF#000000##000000
##40BC4F1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#B0A158
Tritanopia (blue-blind)
#1CB7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc4f;
/* rgb */ color: rgb(64, 188, 79);
/* oklch */ color: oklch(70.3% 0.185 145.2);
Tailwind
colors: {
  custom: {
    50: '#84d183',
    500: '#40bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #40bc4f;
$custom-light: #84d183;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc4f",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 127.258,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.18517,
    "h": 145.2
  },
  "luminance": 0.37621
}

Semantic roles & 50–950 ramp

primary
#40BC4F
secondary
#C98FC2
accent
#4FC8D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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