#40D848#40D848

#40D848 is a light, highly saturated green. Relative luminance 0.507; OKLCH L 77.5% C 0.224 H 143.7°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#40D848
RGBrgb(64, 216, 72)
HSLhsl(123, 66%, 55%)
HSVhsv(123, 70%, 85%)
CMYKcmyk(70.4%, 0%, 66.7%, 15.3%)
CIE-LABlab(76.48, -66.56, 57.45)
CIE-LCHlch(76.48, 87.92, 139.20°)
OKLaboklab(77.52% -0.1803 0.1324)
OKLCHoklch(77.52% 0.224 143.7)
XYZxyz(27.8382, 50.6665, 14.4421)
Luminance0.5067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D848 #D840D0
analogous
#84D840 #40D848 #40D894
triadic
#40D848 #4840D8 #D84840
tetradic
#40D848 #4084D8 #D840D0 #D89440
square
#40D848 #4084D8 #D840D0 #D89440
split-complementary
#40D848 #9440D8 #D84084
monochromatic
#1B8320 #25B62D #40D848 #73E279 #A6EDA9

Accessibility & contrast

On white

1.89
#40D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#40D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D848
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D848#FFFFFF#000000##000000
##40D8481.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#CBB855
Tritanopia (blue-blind)
#00D2BB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d848;
/* rgb */ color: rgb(64, 216, 72);
/* oklch */ color: oklch(77.5% 0.224 143.7);
Tailwind
colors: {
  custom: {
    50: '#8ae581',
    500: '#40d848',
    950: '#000000',
  },
}
SCSS
$custom: #40d848;
$custom-light: #8ae581;
$custom-dark: #000000;
JSON
{
  "hex": "#40d848",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 123.158,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77524,
    "c": 0.22369,
    "h": 143.7
  },
  "luminance": 0.5067
}

Semantic roles & 50–950 ramp

primary
#40D848
secondary
#8A3385
accent
#3FE0E9
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D848

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

Preview Lab → · Contrast checker → · Palette generator →

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