#40D148#40D148

#40D148 is a light, highly saturated green. Relative luminance 0.472; OKLCH L 75.7% C 0.216 H 143.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#40D148
RGBrgb(64, 209, 72)
HSLhsl(123, 61%, 54%)
HSVhsv(123, 69%, 82%)
CMYKcmyk(69.4%, 0%, 65.6%, 18%)
CIE-LABlab(74.29, -64.26, 55.07)
CIE-LCHlch(74.29, 84.63, 139.40°)
OKLaboklab(75.71% -0.1741 0.1274)
OKLCHoklch(75.71% 0.216 143.8)
XYZxyz(26.0829, 47.1560, 13.8570)
Luminance0.4716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D148 #D140C9
analogous
#80D140 #40D148 #40D190
triadic
#40D148 #4840D1 #D14840
tetradic
#40D148 #4080D1 #D140C9 #D19040
square
#40D148 #4080D1 #D140C9 #D19040
split-complementary
#40D148 #9040D1 #D14080
monochromatic
#1D7922 #29AB30 #40D148 #71DD77 #A3E9A7

Accessibility & contrast

On white

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

On black

10.43
#40D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D148
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D148#FFFFFF#000000##000000
##40D1481.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#C4B254
Tritanopia (blue-blind)
#0DCBB5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d148;
/* rgb */ color: rgb(64, 209, 72);
/* oklch */ color: oklch(75.7% 0.216 143.8);
Tailwind
colors: {
  custom: {
    50: '#88e081',
    500: '#40d148',
    950: '#000000',
  },
}
SCSS
$custom: #40d148;
$custom-light: #88e081;
$custom-dark: #000000;
JSON
{
  "hex": "#40d148",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 123.31,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75711,
    "c": 0.2157,
    "h": 143.8
  },
  "luminance": 0.47159
}

Semantic roles & 50–950 ramp

primary
#40D148
secondary
#D597D2
accent
#44DBE4
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D148

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

Preview Lab → · Contrast checker → · Palette generator →

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