#40D858#40D858

#40D858 is a light, highly saturated green. Relative luminance 0.509; OKLCH L 77.7% C 0.212 H 145.6°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#40D858
RGBrgb(64, 216, 88)
HSLhsl(129, 66%, 55%)
HSVhsv(129, 70%, 85%)
CMYKcmyk(70.4%, 0%, 59.3%, 15.3%)
CIE-LABlab(76.62, -64.84, 50.83)
CIE-LCHlch(76.62, 82.39, 141.91°)
OKLaboklab(77.69% -0.175 0.1198)
OKLCHoklch(77.69% 0.212 145.6)
XYZxyz(28.4297, 50.9032, 17.5576)
Luminance0.5091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D858 #D840C0
analogous
#74D840 #40D858 #40D8A4
triadic
#40D858 #5840D8 #D85840
tetradic
#40D858 #4074D8 #D840C0 #D8A440
square
#40D858 #4074D8 #D840C0 #D8A440
split-complementary
#40D858 #A440D8 #D84074
monochromatic
#1B832B #25B63C #40D858 #73E284 #A6EDB1

Accessibility & contrast

On white

1.88
#40D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#40D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D858
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D858#FFFFFF#000000##000000
##40D8581.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54B
Deuteranopia (green-blind)
#CAB862
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d858;
/* rgb */ color: rgb(64, 216, 88);
/* oklch */ color: oklch(77.7% 0.212 145.6);
Tailwind
colors: {
  custom: {
    50: '#89e58b',
    500: '#40d858',
    950: '#000000',
  },
}
SCSS
$custom: #40d858;
$custom-light: #89e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d858",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 129.474,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77689,
    "c": 0.21211,
    "h": 145.6
  },
  "luminance": 0.50906
}

Semantic roles & 50–950 ramp

primary
#40D858
secondary
#8A337C
accent
#3FCEE9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D858

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

Preview Lab → · Contrast checker → · Palette generator →

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