#40D482#40D482

#40D482 is a light, vivid green. Relative luminance 0.498; OKLCH L 77.3% C 0.171 H 154.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#40D482
RGBrgb(64, 212, 130)
HSLhsl(147, 63%, 54%)
HSVhsv(147, 70%, 83%)
CMYKcmyk(69.8%, 0%, 38.7%, 16.9%)
CIE-LABlab(75.94, -57.05, 29.60)
CIE-LCHlch(75.94, 64.27, 152.58°)
OKLaboklab(77.31% -0.154 0.0738)
OKLCHoklch(77.31% 0.171 154.4)
XYZxyz(29.6844, 49.7853, 29.1599)
Luminance0.4979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D482 #D44092
analogous
#48D440 #40D482 #40D4CC
triadic
#40D482 #8240D4 #D48240
tetradic
#40D482 #4048D4 #D44092 #D4CC40
square
#40D482 #4048D4 #D44092 #D4CC40
split-complementary
#40D482 #CC40D4 #D44048
monochromatic
#1C7D48 #27AF64 #40D482 #72DFA3 #A4EAC3

Accessibility & contrast

On white

1.92
#40D482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#40D482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D482
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D482#FFFFFF#000000##000000
##40D4821.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37C
Deuteranopia (green-blind)
#C1B687
Tritanopia (blue-blind)
#00D2BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d482;
/* rgb */ color: rgb(64, 212, 130);
/* oklch */ color: oklch(77.3% 0.171 154.4);
Tailwind
colors: {
  custom: {
    50: '#87e2a7',
    500: '#40d482',
    950: '#000000',
  },
}
SCSS
$custom: #40d482;
$custom-light: #87e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#40d482",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 130
  },
  "hsl": {
    "h": 146.757,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77305,
    "c": 0.17081,
    "h": 154.4
  },
  "luminance": 0.49789
}

Semantic roles & 50–950 ramp

primary
#40D482
secondary
#D798BB
accent
#429DE6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D150F
muted
#7E847F

Preview Lab

Preview with #40D482

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

Preview Lab → · Contrast checker → · Palette generator →

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