#40D748#40D748

#40D748 is a light, highly saturated green. Relative luminance 0.502; OKLCH L 77.3% C 0.223 H 143.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#40D748
RGBrgb(64, 215, 72)
HSLhsl(123, 65%, 55%)
HSVhsv(123, 70%, 84%)
CMYKcmyk(70.2%, 0%, 66.5%, 15.7%)
CIE-LABlab(76.16, -66.23, 57.11)
CIE-LCHlch(76.16, 87.45, 139.23°)
OKLaboklab(77.27% -0.1794 0.1317)
OKLCHoklch(77.27% 0.223 143.7)
XYZxyz(27.5828, 50.1557, 14.3570)
Luminance0.5016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D748 #D740CF
analogous
#83D740 #40D748 #40D794
triadic
#40D748 #4840D7 #D74840
tetradic
#40D748 #4083D7 #D740CF #D79440
square
#40D748 #4083D7 #D740CF #D79440
split-complementary
#40D748 #9440D7 #D74083
monochromatic
#1B8121 #26B42D #40D748 #73E278 #A5ECA9

Accessibility & contrast

On white

1.90
#40D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#40D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D748
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D748#FFFFFF#000000##000000
##40D7481.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#02D1BA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d748;
/* rgb */ color: rgb(64, 215, 72);
/* oklch */ color: oklch(77.3% 0.223 143.7);
Tailwind
colors: {
  custom: {
    50: '#8ae581',
    500: '#40d748',
    950: '#000000',
  },
}
SCSS
$custom: #40d748;
$custom-light: #8ae581;
$custom-dark: #000000;
JSON
{
  "hex": "#40d748",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 123.179,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77265,
    "c": 0.22256,
    "h": 143.7
  },
  "luminance": 0.50159
}

Semantic roles & 50–950 ramp

primary
#40D748
secondary
#883384
accent
#3FDFE8
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D748

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

Preview Lab → · Contrast checker → · Palette generator →

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