#40BF5A#40BF5A

#40BF5A is a light, vivid green. Relative luminance 0.391; OKLCH L 71.2% C 0.180 H 147.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#40BF5A
RGBrgb(64, 191, 90)
HSLhsl(132, 50%, 50%)
HSVhsv(132, 66%, 75%)
CMYKcmyk(66.5%, 0%, 52.9%, 25.1%)
CIE-LABlab(68.81, -55.87, 40.64)
CIE-LCHlch(68.81, 69.08, 143.97°)
OKLaboklab(71.24% -0.1507 0.0977)
OKLCHoklch(71.24% 0.18 147.1)
XYZxyz(22.5890, 39.0874, 16.0250)
Luminance0.3909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF5A #BF40A5
analogous
#66BF40 #40BF5A #40BF99
triadic
#40BF5A #5A40BF #BF5A40
tetradic
#40BF5A #4066BF #BF40A5 #BF9940
square
#40BF5A #4066BF #BF40A5 #BF9940
split-complementary
#40BF5A #9940BF #BF4066
monochromatic
#21632F #319144 #40BF5A #6ECE82 #9CDEA9

Accessibility & contrast

On white

2.38
#40BF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#40BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF5A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF5A#FFFFFF#000000##000000
##40BF5A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#B2A461
Tritanopia (blue-blind)
#12BBA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40bf5a;
/* rgb */ color: rgb(64, 191, 90);
/* oklch */ color: oklch(71.2% 0.180 147.1);
Tailwind
colors: {
  custom: {
    50: '#84d38b',
    500: '#40bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #40bf5a;
$custom-light: #84d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf5a",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 132.283,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7124,
    "c": 0.17963,
    "h": 147.1
  },
  "luminance": 0.3909
}

Semantic roles & 50–950 ramp

primary
#40BF5A
secondary
#CA91BE
accent
#4EBDD9
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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