#40D154#40D154

#40D154 is a light, highly saturated green. Relative luminance 0.473; OKLCH L 75.8% C 0.207 H 145.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#40D154
RGBrgb(64, 209, 84)
HSLhsl(128, 61%, 54%)
HSVhsv(128, 69%, 82%)
CMYKcmyk(69.4%, 0%, 59.8%, 18%)
CIE-LABlab(74.40, -62.95, 50.05)
CIE-LCHlch(74.40, 80.43, 141.51°)
OKLaboklab(75.84% -0.1701 0.1178)
OKLCHoklch(75.84% 0.207 145.3)
XYZxyz(26.5133, 47.3281, 16.1237)
Luminance0.4733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D154 #D140BD
analogous
#74D140 #40D154 #40D19C
triadic
#40D154 #5440D1 #D15440
tetradic
#40D154 #4074D1 #D140BD #D19C40
square
#40D154 #4074D1 #D140BD #D19C40
split-complementary
#40D154 #9C40D1 #D14074
monochromatic
#1D792A #29AB3B #40D154 #71DD80 #A3E9AC

Accessibility & contrast

On white

2.01
#40D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#40D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D154
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D154#FFFFFF#000000##000000
##40D1541.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE47
Deuteranopia (green-blind)
#C3B25E
Tritanopia (blue-blind)
#00CCB6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d154;
/* rgb */ color: rgb(64, 209, 84);
/* oklch */ color: oklch(75.8% 0.207 145.3);
Tailwind
colors: {
  custom: {
    50: '#88e088',
    500: '#40d154',
    950: '#000000',
  },
}
SCSS
$custom: #40d154;
$custom-light: #88e088;
$custom-dark: #000000;
JSON
{
  "hex": "#40d154",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 128.276,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75837,
    "c": 0.20687,
    "h": 145.3
  },
  "luminance": 0.47331
}

Semantic roles & 50–950 ramp

primary
#40D154
secondary
#D597CD
accent
#44CEE4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D154

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

Preview Lab → · Contrast checker → · Palette generator →

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