#40BF4A#40BF4A

#40BF4A is a light, vivid green. Relative luminance 0.388; OKLCH L 71.0% C 0.193 H 144.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#40BF4A
RGBrgb(64, 191, 74)
HSLhsl(125, 50%, 50%)
HSVhsv(125, 66%, 75%)
CMYKcmyk(66.5%, 0%, 61.3%, 25.1%)
CIE-LABlab(68.64, -57.92, 47.91)
CIE-LCHlch(68.64, 75.17, 140.40°)
OKLaboklab(71.04% -0.1568 0.1123)
OKLCHoklch(71.04% 0.193 144.4)
XYZxyz(21.9798, 38.8437, 12.8165)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF4A #BF40B5
analogous
#76BF40 #40BF4A #40BF89
triadic
#40BF4A #4A40BF #BF4A40
tetradic
#40BF4A #4076BF #BF40B5 #BF8940
square
#40BF4A #4076BF #BF40B5 #BF8940
split-complementary
#40BF4A #8940BF #BF4076
monochromatic
#216326 #319138 #40BF4A #6ECE75 #9CDEA1

Accessibility & contrast

On white

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

On black

8.77
#40BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF4A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF4A#FFFFFF#000000##000000
##40BF4A1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3D
Deuteranopia (green-blind)
#B3A354
Tritanopia (blue-blind)
#1DBAA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf4a;
/* rgb */ color: rgb(64, 191, 74);
/* oklch */ color: oklch(71.0% 0.193 144.4);
Tailwind
colors: {
  custom: {
    50: '#85d381',
    500: '#40bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #40bf4a;
$custom-light: #85d381;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf4a",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 124.724,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71037,
    "c": 0.1929,
    "h": 144.4
  },
  "luminance": 0.38846
}

Semantic roles & 50–950 ramp

primary
#40BF4A
secondary
#CA91C5
accent
#4ECED9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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