#40CB78#40CB78

#40CB78 is a light, vivid green. Relative luminance 0.452; OKLCH L 74.8% C 0.168 H 152.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#40CB78
RGBrgb(64, 203, 120)
HSLhsl(144, 57%, 52%)
HSVhsv(144, 68%, 80%)
CMYKcmyk(68.5%, 0%, 40.9%, 20.4%)
CIE-LABlab(72.99, -55.49, 30.86)
CIE-LCHlch(72.99, 63.49, 150.92°)
OKLaboklab(74.83% -0.1497 0.0766)
OKLCHoklch(74.83% 0.168 152.9)
XYZxyz(26.8581, 45.1550, 25.0660)
Luminance0.4516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB78 #CB4093
analogous
#4DCB40 #40CB78 #40CBBE
triadic
#40CB78 #7840CB #CB7840
tetradic
#40CB78 #404DCB #CB4093 #CBBE40
square
#40CB78 #404DCB #CB4093 #CBBE40
split-complementary
#40CB78 #BE40CB #CB404D
monochromatic
#1F7240 #2CA25B #40CB78 #70D89A #A0E5BC

Accessibility & contrast

On white

2.09
#40CB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#40CB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB78
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB78#FFFFFF#000000##000000
##40CB781.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB72
Deuteranopia (green-blind)
#BAAE7E
Tritanopia (blue-blind)
#00C8B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb78;
/* rgb */ color: rgb(64, 203, 120);
/* oklch */ color: oklch(74.8% 0.168 152.9);
Tailwind
colors: {
  custom: {
    50: '#86dca0',
    500: '#40cb78',
    950: '#000000',
  },
}
SCSS
$custom: #40cb78;
$custom-light: #86dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb78",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 144.173,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74827,
    "c": 0.16816,
    "h": 152.9
  },
  "luminance": 0.45158
}

Semantic roles & 50–950 ramp

primary
#40CB78
secondary
#D295B9
accent
#47A3E0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CB78

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

Preview Lab → · Contrast checker → · Palette generator →

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