#40D671#40D671

#40D671 is a light, vivid green. Relative luminance 0.504; OKLCH L 77.5% C 0.189 H 150.0°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#40D671
RGBrgb(64, 214, 113)
HSLhsl(140, 65%, 55%)
HSVhsv(140, 70%, 84%)
CMYKcmyk(70.1%, 0%, 47.2%, 16.1%)
CIE-LABlab(76.30, -60.69, 38.65)
CIE-LCHlch(76.30, 71.95, 147.51°)
OKLaboklab(77.52% -0.1634 0.0944)
OKLCHoklch(77.52% 0.189 150)
XYZxyz(29.1392, 50.3721, 23.8067)
Luminance0.5038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D671 #D640A5
analogous
#5AD640 #40D671 #40D6BC
triadic
#40D671 #7140D6 #D67140
tetradic
#40D671 #405AD6 #D640A5 #D6BC40
square
#40D671 #405AD6 #D640A5 #D6BC40
split-complementary
#40D671 #BC40D6 #D6405A
monochromatic
#1B803C #26B254 #40D671 #72E196 #A5ECBC

Accessibility & contrast

On white

1.90
#40D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#40D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D671
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D671#FFFFFF#000000##000000
##40D6711.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C469
Deuteranopia (green-blind)
#C5B778
Tritanopia (blue-blind)
#00D2BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d671;
/* rgb */ color: rgb(64, 214, 113);
/* oklch */ color: oklch(77.5% 0.189 150.0);
Tailwind
colors: {
  custom: {
    50: '#88e49b',
    500: '#40d671',
    950: '#000000',
  },
}
SCSS
$custom: #40d671;
$custom-light: #88e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d671",
  "rgb": {
    "r": 64,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 139.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77518,
    "c": 0.18866,
    "h": 150
  },
  "luminance": 0.50375
}

Semantic roles & 50–950 ramp

primary
#40D671
secondary
#87336C
accent
#40B1E8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D671

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

Preview Lab → · Contrast checker → · Palette generator →

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