#40D758#40D758

#40D758 is a light, highly saturated green. Relative luminance 0.504; OKLCH L 77.4% C 0.211 H 145.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#40D758
RGBrgb(64, 215, 88)
HSLhsl(130, 65%, 55%)
HSVhsv(130, 70%, 84%)
CMYKcmyk(70.2%, 0%, 59.1%, 15.7%)
CIE-LABlab(76.31, -64.50, 50.47)
CIE-LCHlch(76.31, 81.90, 141.96°)
OKLaboklab(77.43% -0.1741 0.119)
OKLCHoklch(77.43% 0.211 145.6)
XYZxyz(28.1743, 50.3923, 17.4725)
Luminance0.5040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D758 #D740BF
analogous
#74D740 #40D758 #40D7A3
triadic
#40D758 #5840D7 #D75840
tetradic
#40D758 #4074D7 #D740BF #D7A340
square
#40D758 #4074D7 #D740BF #D7A340
split-complementary
#40D758 #A340D7 #D74074
monochromatic
#1B812B #26B43C #40D758 #73E284 #A5ECB0

Accessibility & contrast

On white

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

On black

11.08
#40D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D758
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D758#FFFFFF#000000##000000
##40D7581.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d758;
/* rgb */ color: rgb(64, 215, 88);
/* oklch */ color: oklch(77.4% 0.211 145.6);
Tailwind
colors: {
  custom: {
    50: '#89e58b',
    500: '#40d758',
    950: '#000000',
  },
}
SCSS
$custom: #40d758;
$custom-light: #89e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d758",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 129.536,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77432,
    "c": 0.21091,
    "h": 145.6
  },
  "luminance": 0.50395
}

Semantic roles & 50–950 ramp

primary
#40D758
secondary
#88337B
accent
#3FCDE8
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D758

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

Preview Lab → · Contrast checker → · Palette generator →

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