#40D958#40D958

#40D958 is a light, highly saturated green. Relative luminance 0.514; OKLCH L 77.9% C 0.213 H 145.6°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#40D958
RGBrgb(64, 217, 88)
HSLhsl(129, 67%, 55%)
HSVhsv(129, 71%, 85%)
CMYKcmyk(70.5%, 0%, 59.4%, 14.9%)
CIE-LABlab(76.93, -65.17, 51.19)
CIE-LCHlch(76.93, 82.87, 141.85°)
OKLaboklab(77.95% -0.1759 0.1206)
OKLCHoklch(77.95% 0.213 145.6)
XYZxyz(28.6867, 51.4171, 17.6433)
Luminance0.5142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D958 #D940C1
analogous
#74D940 #40D958 #40D9A5
triadic
#40D958 #5840D9 #D95840
tetradic
#40D958 #4074D9 #D940C1 #D9A540
square
#40D958 #4074D9 #D940C1 #D9A540
split-complementary
#40D958 #A540D9 #D94074
monochromatic
#1A842B #24B73C #40D958 #73E385 #A6EDB1

Accessibility & contrast

On white

1.86
#40D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#40D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D958
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D958#FFFFFF#000000##000000
##40D9581.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#CAB963
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d958;
/* rgb */ color: rgb(64, 217, 88);
/* oklch */ color: oklch(77.9% 0.213 145.6);
Tailwind
colors: {
  custom: {
    50: '#89e68b',
    500: '#40d958',
    950: '#000000',
  },
}
SCSS
$custom: #40d958;
$custom-light: #89e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d958",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 129.412,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77946,
    "c": 0.21328,
    "h": 145.6
  },
  "luminance": 0.5142
}

Semantic roles & 50–950 ramp

primary
#40D958
secondary
#8B327D
accent
#3ECFEA
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D958

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

Preview Lab → · Contrast checker → · Palette generator →

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