#40D754#40D754

#40D754 is a light, highly saturated green. Relative luminance 0.503; OKLCH L 77.4% C 0.214 H 145.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#40D754
RGBrgb(64, 215, 84)
HSLhsl(128, 65%, 55%)
HSVhsv(128, 70%, 84%)
CMYKcmyk(70.2%, 0%, 60.9%, 15.7%)
CIE-LABlab(76.27, -64.97, 52.19)
CIE-LCHlch(76.27, 83.34, 141.22°)
OKLaboklab(77.39% -0.1755 0.1224)
OKLCHoklch(77.39% 0.214 145.1)
XYZxyz(28.0131, 50.3279, 16.6237)
Luminance0.5033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D754 #D740C3
analogous
#78D740 #40D754 #40D7A0
triadic
#40D754 #5440D7 #D75440
tetradic
#40D754 #4078D7 #D740C3 #D7A040
square
#40D754 #4078D7 #D740C3 #D7A040
split-complementary
#40D754 #A040D7 #D74078
monochromatic
#1B8129 #26B439 #40D754 #73E281 #A5ECAF

Accessibility & contrast

On white

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

On black

11.07
#40D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D754
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D754#FFFFFF#000000##000000
##40D7541.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC445
Deuteranopia (green-blind)
#C9B75F
Tritanopia (blue-blind)
#00D2BB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d754;
/* rgb */ color: rgb(64, 215, 84);
/* oklch */ color: oklch(77.4% 0.214 145.1);
Tailwind
colors: {
  custom: {
    50: '#89e588',
    500: '#40d754',
    950: '#000000',
  },
}
SCSS
$custom: #40d754;
$custom-light: #89e588;
$custom-dark: #000000;
JSON
{
  "hex": "#40d754",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 127.947,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77386,
    "c": 0.21398,
    "h": 145.1
  },
  "luminance": 0.50331
}

Semantic roles & 50–950 ramp

primary
#40D754
secondary
#88337D
accent
#3FD2E8
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D754

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

Preview Lab → · Contrast checker → · Palette generator →

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