#40D541#40D541

#40D541 is a light, highly saturated green. Relative luminance 0.491; OKLCH L 76.7% C 0.225 H 143.1°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#40D541
RGBrgb(64, 213, 65)
HSLhsl(120, 64%, 54%)
HSVhsv(120, 70%, 84%)
CMYKcmyk(70%, 0%, 69.5%, 16.5%)
CIE-LABlab(75.49, -66.22, 59.12)
CIE-LCHlch(75.49, 88.77, 138.24°)
OKLaboklab(76.69% -0.1797 0.1351)
OKLCHoklch(76.69% 0.225 143.1)
XYZxyz(26.8611, 49.0572, 13.0534)
Luminance0.4906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D541 #D540D4
analogous
#89D540 #40D541 #40D58C
triadic
#40D541 #4140D5 #D54140
tetradic
#40D541 #4089D5 #D540D4 #D58C40
square
#40D541 #4089D5 #D540D4 #D58C40
split-complementary
#40D541 #8C40D5 #D54089
monochromatic
#1C7F1D #27B128 #40D541 #72E073 #A4EBA5

Accessibility & contrast

On white

1.94
#40D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#40D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D541
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D541#FFFFFF#000000##000000
##40D5411.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#0DCFB7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d541;
/* rgb */ color: rgb(64, 213, 65);
/* oklch */ color: oklch(76.7% 0.225 143.1);
Tailwind
colors: {
  custom: {
    50: '#89e37d',
    500: '#40d541',
    950: '#000000',
  },
}
SCSS
$custom: #40d541;
$custom-light: #89e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d541",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 120.403,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76686,
    "c": 0.22485,
    "h": 143.1
  },
  "luminance": 0.4906
}

Semantic roles & 50–950 ramp

primary
#40D541
secondary
#D899D8
accent
#41E6E7
background
#F9FEF7
surface
#F2FCEE
border
#CCD5C9
text
#0D160A
muted
#7E847C

Preview Lab

Preview with #40D541

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

Preview Lab → · Contrast checker → · Palette generator →

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