#40D442#40D442

#40D442 is a light, highly saturated green. Relative luminance 0.486; OKLCH L 76.4% C 0.223 H 143.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#40D442
RGBrgb(64, 212, 66)
HSLhsl(121, 63%, 54%)
HSVhsv(121, 70%, 83%)
CMYKcmyk(69.8%, 0%, 68.9%, 16.9%)
CIE-LABlab(75.18, -65.81, 58.42)
CIE-LCHlch(75.18, 88.00, 138.41°)
OKLaboklab(76.44% -0.1786 0.1337)
OKLCHoklch(76.44% 0.223 143.2)
XYZxyz(26.6396, 48.5674, 13.1237)
Luminance0.4857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D442 #D440D2
analogous
#88D440 #40D442 #40D48C
triadic
#40D442 #4240D4 #D44240
tetradic
#40D442 #4088D4 #D440D2 #D48C40
square
#40D442 #4088D4 #D440D2 #D48C40
split-complementary
#40D442 #8C40D4 #D44088
monochromatic
#1C7D1E #27AF29 #40D442 #72DF73 #A4EAA5

Accessibility & contrast

On white

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

On black

10.71
#40D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D442
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D442#FFFFFF#000000##000000
##40D4421.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#C7B550
Tritanopia (blue-blind)
#0DCEB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d442;
/* rgb */ color: rgb(64, 212, 66);
/* oklch */ color: oklch(76.4% 0.223 143.2);
Tailwind
colors: {
  custom: {
    50: '#89e27e',
    500: '#40d442',
    950: '#000000',
  },
}
SCSS
$custom: #40d442;
$custom-light: #89e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d442",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 120.811,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76435,
    "c": 0.22309,
    "h": 143.2
  },
  "luminance": 0.4857
}

Semantic roles & 50–950 ramp

primary
#40D442
secondary
#D798D7
accent
#42E4E6
background
#F9FEF8
surface
#F1FCEF
border
#CBD5CA
text
#0D160A
muted
#7E847C

Preview Lab

Preview with #40D442

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

Preview Lab → · Contrast checker → · Palette generator →

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