#40D151#40D151

#40D151 is a light, highly saturated green. Relative luminance 0.473; OKLCH L 75.8% C 0.209 H 144.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#40D151
RGBrgb(64, 209, 81)
HSLhsl(127, 61%, 54%)
HSVhsv(127, 69%, 82%)
CMYKcmyk(69.4%, 0%, 61.2%, 18%)
CIE-LABlab(74.37, -63.30, 51.34)
CIE-LCHlch(74.37, 81.50, 140.96°)
OKLaboklab(75.8% -0.1711 0.1203)
OKLCHoklch(75.8% 0.209 144.9)
XYZxyz(26.3983, 47.2821, 15.5181)
Luminance0.4728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D151 #D140C0
analogous
#78D140 #40D151 #40D199
triadic
#40D151 #5140D1 #D15140
tetradic
#40D151 #4078D1 #D140C0 #D19940
square
#40D151 #4078D1 #D140C0 #D19940
split-complementary
#40D151 #9940D1 #D14078
monochromatic
#1D7928 #29AB38 #40D151 #71DD7E #A3E9AB

Accessibility & contrast

On white

2.01
#40D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#40D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D151
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D151#FFFFFF#000000##000000
##40D1511.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#C3B25C
Tritanopia (blue-blind)
#02CCB6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d151;
/* rgb */ color: rgb(64, 209, 81);
/* oklch */ color: oklch(75.8% 0.209 144.9);
Tailwind
colors: {
  custom: {
    50: '#88e086',
    500: '#40d151',
    950: '#000000',
  },
}
SCSS
$custom: #40d151;
$custom-light: #88e086;
$custom-dark: #000000;
JSON
{
  "hex": "#40d151",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 127.034,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75803,
    "c": 0.20917,
    "h": 144.9
  },
  "luminance": 0.47285
}

Semantic roles & 50–950 ramp

primary
#40D151
secondary
#D597CE
accent
#44D1E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D151

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

Preview Lab → · Contrast checker → · Palette generator →

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