#40C778#40C778

#40C778 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.8% C 0.163 H 153.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#40C778
RGBrgb(64, 199, 120)
HSLhsl(145, 55%, 52%)
HSVhsv(145, 68%, 78%)
CMYKcmyk(67.8%, 0%, 39.7%, 22%)
CIE-LABlab(71.75, -53.97, 29.23)
CIE-LCHlch(71.75, 61.38, 151.56°)
OKLaboklab(73.8% -0.1457 0.0728)
OKLCHoklch(73.8% 0.163 153.5)
XYZxyz(25.9257, 43.2901, 24.7552)
Luminance0.4329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C778 #C7408F
analogous
#4CC740 #40C778 #40C7BC
triadic
#40C778 #7840C7 #C77840
tetradic
#40C778 #404CC7 #C7408F #C7BC40
square
#40C778 #404CC7 #C7408F #C7BC40
split-complementary
#40C778 #BC40C7 #C7404C
monochromatic
#206D40 #2E9C5C #40C778 #6FD599 #9FE3BB

Accessibility & contrast

On white

2.17
#40C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#40C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C778
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C778#FFFFFF#000000##000000
##40C7781.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B773
Deuteranopia (green-blind)
#B6AB7D
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c778;
/* rgb */ color: rgb(64, 199, 120);
/* oklch */ color: oklch(73.8% 0.163 153.5);
Tailwind
colors: {
  custom: {
    50: '#85d99f',
    500: '#40c778',
    950: '#000000',
  },
}
SCSS
$custom: #40c778;
$custom-light: #85d99f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c778",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 144.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73803,
    "c": 0.16288,
    "h": 153.5
  },
  "luminance": 0.43293
}

Semantic roles & 50–950 ramp

primary
#40C778
secondary
#CF94B6
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C778

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

Preview Lab → · Contrast checker → · Palette generator →

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