#40BF7C#40BF7C

#40BF7C is a light, vivid green. Relative luminance 0.398; OKLCH L 71.8% C 0.149 H 156.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#40BF7C
RGBrgb(64, 191, 124)
HSLhsl(148, 50%, 50%)
HSVhsv(148, 66%, 75%)
CMYKcmyk(66.5%, 0%, 35.1%, 25.1%)
CIE-LABlab(69.33, -50.11, 23.90)
CIE-LCHlch(69.33, 55.52, 154.50°)
OKLaboklab(71.83% -0.1358 0.0601)
OKLCHoklch(71.83% 0.149 156.1)
XYZxyz(24.3810, 39.8042, 25.4629)
Luminance0.3981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF7C #BF4083
analogous
#44BF40 #40BF7C #40BFBB
triadic
#40BF7C #7C40BF #BF7C40
tetradic
#40BF7C #4044BF #BF4083 #BFBB40
square
#40BF7C #4044BF #BF4083 #BFBB40
split-complementary
#40BF7C #BB40BF #BF4044
monochromatic
#216340 #31915E #40BF7C #6ECE9B #9CDEBB

Accessibility & contrast

On white

2.34
#40BF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#40BF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF7C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF7C#FFFFFF#000000##000000
##40BF7C1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB078
Deuteranopia (green-blind)
#AEA580
Tritanopia (blue-blind)
#00BDAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40bf7c;
/* rgb */ color: rgb(64, 191, 124);
/* oklch */ color: oklch(71.8% 0.149 156.1);
Tailwind
colors: {
  custom: {
    50: '#83d3a2',
    500: '#40bf7c',
    950: '#000000',
  },
}
SCSS
$custom: #40bf7c;
$custom-light: #83d3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf7c",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 124
  },
  "hsl": {
    "h": 148.346,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71833,
    "c": 0.14853,
    "h": 156.1
  },
  "luminance": 0.39807
}

Semantic roles & 50–950 ramp

primary
#40BF7C
secondary
#CA91AF
accent
#4E98D9
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40BF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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