#40D97F#40D97F

#40D97F is a light, vivid green. Relative luminance 0.522; OKLCH L 78.5% C 0.180 H 152.9°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#40D97F
RGBrgb(64, 217, 127)
HSLhsl(145, 67%, 55%)
HSVhsv(145, 71%, 85%)
CMYKcmyk(70.5%, 0%, 41.5%, 14.9%)
CIE-LABlab(77.43, -59.44, 33.09)
CIE-LCHlch(77.43, 68.03, 150.90°)
OKLaboklab(78.52% -0.1602 0.082)
OKLCHoklch(78.52% 0.18 152.9)
XYZxyz(30.7553, 52.2445, 28.5379)
Luminance0.5225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D97F #D9409A
analogous
#4DD940 #40D97F #40D9CC
triadic
#40D97F #7F40D9 #D97F40
tetradic
#40D97F #404DD9 #D9409A #D9CC40
square
#40D97F #404DD9 #D9409A #D9CC40
split-complementary
#40D97F #CC40D9 #D9404D
monochromatic
#1A8446 #24B761 #40D97F #73E3A1 #A6EDC3

Accessibility & contrast

On white

1.83
#40D97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#40D97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D97F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D97F#FFFFFF#000000##000000
##40D97F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#C6BA85
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d97f;
/* rgb */ color: rgb(64, 217, 127);
/* oklch */ color: oklch(78.5% 0.180 152.9);
Tailwind
colors: {
  custom: {
    50: '#88e6a5',
    500: '#40d97f',
    950: '#000000',
  },
}
SCSS
$custom: #40d97f;
$custom-light: #88e6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d97f",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 144.706,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78517,
    "c": 0.17996,
    "h": 152.9
  },
  "luminance": 0.52248
}

Semantic roles & 50–950 ramp

primary
#40D97F
secondary
#8B3266
accent
#3EA3EA
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D97F

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

Preview Lab → · Contrast checker → · Palette generator →

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