#40BF4F#40BF4F

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

Color values

HEX#40BF4F
RGBrgb(64, 191, 79)
HSLhsl(127, 50%, 50%)
HSVhsv(127, 66%, 75%)
CMYKcmyk(66.5%, 0%, 58.6%, 25.1%)
CIE-LABlab(68.69, -57.32, 45.70)
CIE-LCHlch(68.69, 73.31, 141.44°)
OKLaboklab(71.1% -0.155 0.108)
OKLCHoklch(71.1% 0.189 145.1)
XYZxyz(22.1550, 38.9138, 13.7392)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF4F #BF40B0
analogous
#70BF40 #40BF4F #40BF8F
triadic
#40BF4F #4F40BF #BF4F40
tetradic
#40BF4F #4070BF #BF40B0 #BF8F40
square
#40BF4F #4070BF #BF40B0 #BF8F40
split-complementary
#40BF4F #8F40BF #BF4070
monochromatic
#216329 #31913C #40BF4F #6ECE79 #9CDEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BF4F#FFFFFF#000000##000000
##40BF4F1.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)
#C2AE44
Deuteranopia (green-blind)
#B3A358
Tritanopia (blue-blind)
#1ABAA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf4f;
/* rgb */ color: rgb(64, 191, 79);
/* oklch */ color: oklch(71.1% 0.189 145.1);
Tailwind
colors: {
  custom: {
    50: '#84d384',
    500: '#40bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #40bf4f;
$custom-light: #84d384;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf4f",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 127.087,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.18892,
    "h": 145.1
  },
  "luminance": 0.38916
}

Semantic roles & 50–950 ramp

primary
#40BF4F
secondary
#CA91C3
accent
#4EC9D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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