#40C148#40C148

#40C148 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.5% C 0.197 H 144.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#40C148
RGBrgb(64, 193, 72)
HSLhsl(124, 51%, 50%)
HSVhsv(124, 67%, 76%)
CMYKcmyk(66.8%, 0%, 62.7%, 24.3%)
CIE-LABlab(69.25, -58.84, 49.49)
CIE-LCHlch(69.25, 76.89, 139.93°)
OKLaboklab(71.54% -0.1594 0.1155)
OKLCHoklch(71.54% 0.197 144.1)
XYZxyz(22.3526, 39.6955, 12.6136)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C148 #C140B9
analogous
#78C140 #40C148 #40C188
triadic
#40C148 #4840C1 #C14840
tetradic
#40C148 #4078C1 #C140B9 #C18840
square
#40C148 #4078C1 #C140B9 #C18840
split-complementary
#40C148 #8840C1 #C14078
monochromatic
#216625 #309436 #40C148 #6ED074 #9CDFA1

Accessibility & contrast

On white

2.35
#40C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#40C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C148
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C148#FFFFFF#000000##000000
##40C1481.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#B5A552
Tritanopia (blue-blind)
#1CBCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c148;
/* rgb */ color: rgb(64, 193, 72);
/* oklch */ color: oklch(71.5% 0.197 144.1);
Tailwind
colors: {
  custom: {
    50: '#85d580',
    500: '#40c148',
    950: '#000000',
  },
}
SCSS
$custom: #40c148;
$custom-light: #85d580;
$custom-dark: #000000;
JSON
{
  "hex": "#40c148",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 123.721,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.19685,
    "h": 144.1
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#40C148
secondary
#CB92C8
accent
#4DD2DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C148

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

Preview Lab → · Contrast checker → · Palette generator →

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