#40D276#40D276

#40D276 is a light, vivid green. Relative luminance 0.485; OKLCH L 76.6% C 0.179 H 151.5°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#40D276
RGBrgb(64, 210, 118)
HSLhsl(142, 62%, 54%)
HSVhsv(142, 70%, 82%)
CMYKcmyk(69.5%, 0%, 43.8%, 17.6%)
CIE-LABlab(75.13, -58.43, 34.66)
CIE-LCHlch(75.13, 67.93, 149.32°)
OKLaboklab(76.58% -0.1574 0.0854)
OKLCHoklch(76.58% 0.179 151.5)
XYZxyz(28.4286, 48.4880, 24.9969)
Luminance0.4849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D276 #D2409C
analogous
#53D240 #40D276 #40D2BF
triadic
#40D276 #7640D2 #D27640
tetradic
#40D276 #4053D2 #D2409C #D2BF40
square
#40D276 #4053D2 #D2409C #D2BF40
split-complementary
#40D276 #BF40D2 #D24053
monochromatic
#1D7B40 #29AC59 #40D276 #72DE9A #A3E9BD

Accessibility & contrast

On white

1.96
#40D276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#40D276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D276
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D276#FFFFFF#000000##000000
##40D2761.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16F
Deuteranopia (green-blind)
#C1B47C
Tritanopia (blue-blind)
#00CFBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d276;
/* rgb */ color: rgb(64, 210, 118);
/* oklch */ color: oklch(76.6% 0.179 151.5);
Tailwind
colors: {
  custom: {
    50: '#87e19e',
    500: '#40d276',
    950: '#000000',
  },
}
SCSS
$custom: #40d276;
$custom-light: #87e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d276",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 118
  },
  "hsl": {
    "h": 142.192,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76579,
    "c": 0.17907,
    "h": 151.5
  },
  "luminance": 0.48491
}

Semantic roles & 50–950 ramp

primary
#40D276
secondary
#D698BF
accent
#43A9E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D276

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

Preview Lab → · Contrast checker → · Palette generator →

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