#40BC4B#40BC4B

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

Color values

HEX#40BC4B
RGBrgb(64, 188, 75)
HSLhsl(125, 49%, 49%)
HSVhsv(125, 66%, 74%)
CMYKcmyk(66%, 0%, 60.1%, 26.3%)
CIE-LABlab(67.70, -56.74, 46.38)
CIE-LCHlch(67.70, 73.29, 140.74°)
OKLaboklab(70.26% -0.1536 0.1091)
OKLCHoklch(70.26% 0.188 144.6)
XYZxyz(21.3662, 37.5622, 12.7795)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC4B #BC40B1
analogous
#73BC40 #40BC4B #40BC89
triadic
#40BC4B #4B40BC #BC4B40
tetradic
#40BC4B #4073BC #BC40B1 #BC8940
square
#40BC4B #4073BC #BC40B1 #BC8940
split-complementary
#40BC4B #8940BC #BC4073
monochromatic
#216127 #308E39 #40BC4B #6CCD75 #9ADDA0

Accessibility & contrast

On white

2.47
#40BC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#40BC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC4B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC4B#FFFFFF#000000##000000
##40BC4B1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3F
Deuteranopia (green-blind)
#B0A154
Tritanopia (blue-blind)
#1EB7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc4b;
/* rgb */ color: rgb(64, 188, 75);
/* oklch */ color: oklch(70.3% 0.188 144.6);
Tailwind
colors: {
  custom: {
    50: '#84d181',
    500: '#40bc4b',
    950: '#000000',
  },
}
SCSS
$custom: #40bc4b;
$custom-light: #84d181;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc4b",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 125.323,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70262,
    "c": 0.18842,
    "h": 144.6
  },
  "luminance": 0.37564
}

Semantic roles & 50–950 ramp

primary
#40BC4B
secondary
#C98FC3
accent
#4FCDD9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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