#40BF4D#40BF4D

#40BF4D is a light, vivid green. Relative luminance 0.389; OKLCH L 71.1% C 0.191 H 144.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#40BF4D
RGBrgb(64, 191, 77)
HSLhsl(126, 50%, 50%)
HSVhsv(126, 66%, 75%)
CMYKcmyk(66.5%, 0%, 59.7%, 25.1%)
CIE-LABlab(68.67, -57.57, 46.59)
CIE-LCHlch(68.67, 74.06, 141.01°)
OKLaboklab(71.07% -0.1557 0.1098)
OKLCHoklch(71.07% 0.191 144.8)
XYZxyz(22.0833, 38.8851, 13.3615)
Luminance0.3889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF4D #BF40B2
analogous
#72BF40 #40BF4D #40BF8D
triadic
#40BF4D #4D40BF #BF4D40
tetradic
#40BF4D #4072BF #BF40B2 #BF8D40
square
#40BF4D #4072BF #BF40B2 #BF8D40
split-complementary
#40BF4D #8D40BF #BF4072
monochromatic
#216328 #31913B #40BF4D #6ECE78 #9CDEA2

Accessibility & contrast

On white

2.39
#40BF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#40BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF4D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF4D#FFFFFF#000000##000000
##40BF4D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE41
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#1BBAA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf4d;
/* rgb */ color: rgb(64, 191, 77);
/* oklch */ color: oklch(71.1% 0.191 144.8);
Tailwind
colors: {
  custom: {
    50: '#84d382',
    500: '#40bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #40bf4d;
$custom-light: #84d382;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf4d",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 126.142,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.19053,
    "h": 144.8
  },
  "luminance": 0.38887
}

Semantic roles & 50–950 ramp

primary
#40BF4D
secondary
#CA91C4
accent
#4ECBD9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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