#40D941#40D941

#40D941 is a light, highly saturated green. Relative luminance 0.511; OKLCH L 77.7% C 0.229 H 143.0°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#40D941
RGBrgb(64, 217, 65)
HSLhsl(120, 67%, 55%)
HSVhsv(120, 71%, 85%)
CMYKcmyk(70.5%, 0%, 70%, 14.9%)
CIE-LABlab(76.74, -67.51, 60.43)
CIE-LCHlch(76.74, 90.60, 138.17°)
OKLaboklab(77.72% -0.1832 0.1378)
OKLCHoklch(77.72% 0.229 143)
XYZxyz(27.8796, 51.0943, 13.3929)
Luminance0.5110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D941 #D940D8
analogous
#8CD940 #40D941 #40D98D
triadic
#40D941 #4140D9 #D94140
tetradic
#40D941 #408CD9 #D940D8 #D98D40
square
#40D941 #408CD9 #D940D8 #D98D40
split-complementary
#40D941 #8D40D9 #D9408C
monochromatic
#1A841B #24B725 #40D941 #73E374 #A6EDA7

Accessibility & contrast

On white

1.87
#40D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#40D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D941
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D941#FFFFFF#000000##000000
##40D9411.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#05D3BB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d941;
/* rgb */ color: rgb(64, 217, 65);
/* oklch */ color: oklch(77.7% 0.229 143.0);
Tailwind
colors: {
  custom: {
    50: '#8ae67e',
    500: '#40d941',
    950: '#000000',
  },
}
SCSS
$custom: #40d941;
$custom-light: #8ae67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d941",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 120.392,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77722,
    "c": 0.22928,
    "h": 143
  },
  "luminance": 0.51097
}

Semantic roles & 50–950 ramp

primary
#40D941
secondary
#8B328A
accent
#3EE9EA
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0E160A
muted
#7F847D

Preview Lab

Preview with #40D941

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

Preview Lab → · Contrast checker → · Palette generator →

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