#40BF7F#40BF7F

#40BF7F is a light, vivid green. Relative luminance 0.399; OKLCH L 71.9% C 0.146 H 157.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#40BF7F
RGBrgb(64, 191, 127)
HSLhsl(150, 50%, 50%)
HSVhsv(150, 66%, 75%)
CMYKcmyk(66.5%, 0%, 33.5%, 25.1%)
CIE-LABlab(69.38, -49.51, 22.38)
CIE-LCHlch(69.38, 54.33, 155.68°)
OKLaboklab(71.9% -0.1344 0.0565)
OKLCHoklch(71.9% 0.146 157.2)
XYZxyz(24.5736, 39.8813, 26.4774)
Luminance0.3988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF7F #BF4080
analogous
#40BF40 #40BF7F #40BFBF
triadic
#40BF7F #7F40BF #BF7F40
tetradic
#40BF7F #4040BF #BF4080 #BFBF40
square
#40BF7F #4040BF #BF4080 #BFBF40
split-complementary
#40BF7F #BF40BF #BF4040
monochromatic
#216342 #319161 #40BF7F #6ECE9E #9CDEBC

Accessibility & contrast

On white

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

On black

8.98
#40BF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF7F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF7F#FFFFFF#000000##000000
##40BF7F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB07B
Deuteranopia (green-blind)
#ADA583
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40bf7f;
/* rgb */ color: rgb(64, 191, 127);
/* oklch */ color: oklch(71.9% 0.146 157.2);
Tailwind
colors: {
  custom: {
    50: '#83d3a4',
    500: '#40bf7f',
    950: '#000000',
  },
}
SCSS
$custom: #40bf7f;
$custom-light: #83d3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf7f",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 127
  },
  "hsl": {
    "h": 149.764,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.1458,
    "h": 157.2
  },
  "luminance": 0.39884
}

Semantic roles & 50–950 ramp

primary
#40BF7F
secondary
#CA91AE
accent
#4E94D9
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40BF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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