#40D458#40D458

#40D458 is a light, highly saturated green. Relative luminance 0.489; OKLCH L 76.7% C 0.207 H 145.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#40D458
RGBrgb(64, 212, 88)
HSLhsl(130, 63%, 54%)
HSVhsv(130, 70%, 83%)
CMYKcmyk(69.8%, 0%, 58.5%, 16.9%)
CIE-LABlab(75.38, -63.49, 49.39)
CIE-LCHlch(75.38, 80.44, 142.12°)
OKLaboklab(76.66% -0.1714 0.1167)
OKLCHoklch(76.66% 0.207 145.7)
XYZxyz(27.4174, 48.8785, 17.2202)
Luminance0.4888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D458 #D440BC
analogous
#72D440 #40D458 #40D4A2
triadic
#40D458 #5840D4 #D45840
tetradic
#40D458 #4072D4 #D440BC #D4A240
square
#40D458 #4072D4 #D440BC #D4A240
split-complementary
#40D458 #A240D4 #D44072
monochromatic
#1C7D2C #27AF3E #40D458 #72DF84 #A4EAAF

Accessibility & contrast

On white

1.95
#40D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#40D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D458
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D458#FFFFFF#000000##000000
##40D4581.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#C6B562
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d458;
/* rgb */ color: rgb(64, 212, 88);
/* oklch */ color: oklch(76.7% 0.207 145.7);
Tailwind
colors: {
  custom: {
    50: '#88e28b',
    500: '#40d458',
    950: '#000000',
  },
}
SCSS
$custom: #40d458;
$custom-light: #88e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d458",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 129.73,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76658,
    "c": 0.20733,
    "h": 145.7
  },
  "luminance": 0.48882
}

Semantic roles & 50–950 ramp

primary
#40D458
secondary
#D798CD
accent
#42CCE6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160C
muted
#7E847D

Preview Lab

Preview with #40D458

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

Preview Lab → · Contrast checker → · Palette generator →

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