#40D15F#40D15F

#40D15F is a light, vivid green. Relative luminance 0.475; OKLCH L 76.0% C 0.198 H 147.0°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#40D15F
RGBrgb(64, 209, 95)
HSLhsl(133, 61%, 54%)
HSVhsv(133, 69%, 82%)
CMYKcmyk(69.4%, 0%, 54.5%, 18%)
CIE-LABlab(74.52, -61.57, 45.14)
CIE-LCHlch(74.52, 76.34, 143.75°)
OKLaboklab(75.97% -0.166 0.108)
OKLCHoklch(75.97% 0.198 147)
XYZxyz(26.9784, 47.5142, 18.5736)
Luminance0.4752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D15F #D140B2
analogous
#69D140 #40D15F #40D1A8
triadic
#40D15F #5F40D1 #D15F40
tetradic
#40D15F #4069D1 #D140B2 #D1A840
square
#40D15F #4069D1 #D140B2 #D1A840
split-complementary
#40D15F #A840D1 #D14069
monochromatic
#1D7931 #29AB45 #40D15F #71DD88 #A3E9B2

Accessibility & contrast

On white

2.00
#40D15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#40D15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D15F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D15F#FFFFFF#000000##000000
##40D15F1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF54
Deuteranopia (green-blind)
#C2B368
Tritanopia (blue-blind)
#00CCB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d15f;
/* rgb */ color: rgb(64, 209, 95);
/* oklch */ color: oklch(76.0% 0.198 147.0);
Tailwind
colors: {
  custom: {
    50: '#87e08f',
    500: '#40d15f',
    950: '#000000',
  },
}
SCSS
$custom: #40d15f;
$custom-light: #87e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d15f",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 132.828,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75973,
    "c": 0.19798,
    "h": 147
  },
  "luminance": 0.47517
}

Semantic roles & 50–950 ramp

primary
#40D15F
secondary
#D597C8
accent
#44C2E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150D
muted
#7E837D

Preview Lab

Preview with #40D15F

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

Preview Lab → · Contrast checker → · Palette generator →

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