#40D352#40D352

#40D352 is a light, highly saturated green. Relative luminance 0.483; OKLCH L 76.3% C 0.211 H 145.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#40D352
RGBrgb(64, 211, 82)
HSLhsl(127, 63%, 54%)
HSVhsv(127, 70%, 83%)
CMYKcmyk(69.7%, 0%, 61.1%, 17.3%)
CIE-LABlab(75.00, -63.86, 51.62)
CIE-LCHlch(75.00, 82.12, 141.05°)
OKLaboklab(76.33% -0.1726 0.121)
OKLCHoklch(76.33% 0.211 145)
XYZxyz(26.9298, 48.2848, 15.8817)
Luminance0.4829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D352 #D340C1
analogous
#78D340 #40D352 #40D39C
triadic
#40D352 #5240D3 #D35240
tetradic
#40D352 #4078D3 #D340C1 #D39C40
square
#40D352 #4078D3 #D340C1 #D39C40
split-complementary
#40D352 #9C40D3 #D34078
monochromatic
#1D7C28 #28AE38 #40D352 #72DE7F #A3EAAC

Accessibility & contrast

On white

1.97
#40D352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#40D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D352
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D352#FFFFFF#000000##000000
##40D3521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#C5B45D
Tritanopia (blue-blind)
#00CEB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d352;
/* rgb */ color: rgb(64, 211, 82);
/* oklch */ color: oklch(76.3% 0.211 145.0);
Tailwind
colors: {
  custom: {
    50: '#88e287',
    500: '#40d352',
    950: '#000000',
  },
}
SCSS
$custom: #40d352;
$custom-light: #88e287;
$custom-dark: #000000;
JSON
{
  "hex": "#40d352",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 127.347,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76331,
    "c": 0.21079,
    "h": 145
  },
  "luminance": 0.48288
}

Semantic roles & 50–950 ramp

primary
#40D352
secondary
#D798CF
accent
#42D2E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D150C
muted
#7E847D

Preview Lab

Preview with #40D352

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

Preview Lab → · Contrast checker → · Palette generator →

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