#40D562#40D562

#40D562 is a light, highly saturated green. Relative luminance 0.496; OKLCH L 77.0% C 0.200 H 147.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#40D562
RGBrgb(64, 213, 98)
HSLhsl(134, 64%, 54%)
HSVhsv(134, 70%, 84%)
CMYKcmyk(70%, 0%, 54%, 16.5%)
CIE-LABlab(75.80, -62.54, 45.27)
CIE-LCHlch(75.80, 77.21, 144.10°)
OKLaboklab(77.04% -0.1685 0.1084)
OKLCHoklch(77.04% 0.2 147.2)
XYZxyz(28.1111, 49.5572, 19.6369)
Luminance0.4956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D562 #D540B3
analogous
#69D540 #40D562 #40D5AC
triadic
#40D562 #6240D5 #D56240
tetradic
#40D562 #4069D5 #D540B3 #D5AC40
square
#40D562 #4069D5 #D540B3 #D5AC40
split-complementary
#40D562 #AC40D5 #D54069
monochromatic
#1C7F32 #27B146 #40D562 #72E08B #A4EBB4

Accessibility & contrast

On white

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

On black

10.91
#40D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D562
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D562#FFFFFF#000000##000000
##40D5621.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C257
Deuteranopia (green-blind)
#C6B66B
Tritanopia (blue-blind)
#00D0BB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d562;
/* rgb */ color: rgb(64, 213, 98);
/* oklch */ color: oklch(77.0% 0.200 147.2);
Tailwind
colors: {
  custom: {
    50: '#88e391',
    500: '#40d562',
    950: '#000000',
  },
}
SCSS
$custom: #40d562;
$custom-light: #88e391;
$custom-dark: #000000;
JSON
{
  "hex": "#40d562",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 133.691,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77042,
    "c": 0.2004,
    "h": 147.2
  },
  "luminance": 0.4956
}

Semantic roles & 50–950 ramp

primary
#40D562
secondary
#D899CA
accent
#41C1E7
background
#F9FEF9
surface
#F1FCF1
border
#CBD5CB
text
#0D160D
muted
#7E847E

Preview Lab

Preview with #40D562

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

Preview Lab → · Contrast checker → · Palette generator →

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