#40D348#40D348

#40D348 is a light, highly saturated green. Relative luminance 0.481; OKLCH L 76.2% C 0.218 H 143.8°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#40D348
RGBrgb(64, 211, 72)
HSLhsl(123, 63%, 54%)
HSVhsv(123, 70%, 83%)
CMYKcmyk(69.7%, 0%, 65.9%, 17.3%)
CIE-LABlab(74.92, -64.92, 55.75)
CIE-LCHlch(74.92, 85.57, 139.34°)
OKLaboklab(76.23% -0.1759 0.1288)
OKLCHoklch(76.23% 0.218 143.8)
XYZxyz(26.5766, 48.1435, 14.0216)
Luminance0.4815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D348 #D340CB
analogous
#82D340 #40D348 #40D392
triadic
#40D348 #4840D3 #D34840
tetradic
#40D348 #4082D3 #D340CB #D39240
square
#40D348 #4082D3 #D340CB #D39240
split-complementary
#40D348 #9240D3 #D34082
monochromatic
#1D7C22 #28AE2F #40D348 #72DE78 #A3EAA7

Accessibility & contrast

On white

1.98
#40D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#40D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D348
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D348#FFFFFF#000000##000000
##40D3481.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C036
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#09CDB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d348;
/* rgb */ color: rgb(64, 211, 72);
/* oklch */ color: oklch(76.2% 0.218 143.8);
Tailwind
colors: {
  custom: {
    50: '#89e281',
    500: '#40d348',
    950: '#000000',
  },
}
SCSS
$custom: #40d348;
$custom-light: #89e281;
$custom-dark: #000000;
JSON
{
  "hex": "#40d348",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 123.265,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76229,
    "c": 0.218,
    "h": 143.8
  },
  "luminance": 0.48146
}

Semantic roles & 50–950 ramp

primary
#40D348
secondary
#D798D3
accent
#42DDE6
background
#F9FEF8
surface
#F1FCEF
border
#CBD5CA
text
#0D150B
muted
#7E847C

Preview Lab

Preview with #40D348

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

Preview Lab → · Contrast checker → · Palette generator →

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