#40C779#40C779

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

Color values

HEX#40C779
RGBrgb(64, 199, 121)
HSLhsl(145, 55%, 52%)
HSVhsv(145, 68%, 78%)
CMYKcmyk(67.8%, 0%, 39.2%, 22%)
CIE-LABlab(71.77, -53.79, 28.73)
CIE-LCHlch(71.77, 60.98, 151.89°)
OKLaboklab(73.82% -0.1453 0.0716)
OKLCHoklch(73.82% 0.162 153.8)
XYZxyz(25.9867, 43.3145, 25.0764)
Luminance0.4332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C779 #C7408E
analogous
#4BC740 #40C779 #40C7BC
triadic
#40C779 #7940C7 #C77940
tetradic
#40C779 #404BC7 #C7408E #C7BC40
square
#40C779 #404BC7 #C7408E #C7BC40
split-complementary
#40C779 #BC40C7 #C7404B
monochromatic
#206D40 #2E9C5C #40C779 #6FD59A #9FE3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C779#FFFFFF#000000##000000
##40C7791.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)
#C7B774
Deuteranopia (green-blind)
#B6AB7E
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c779;
/* rgb */ color: rgb(64, 199, 121);
/* oklch */ color: oklch(73.8% 0.162 153.8);
Tailwind
colors: {
  custom: {
    50: '#85d9a0',
    500: '#40c779',
    950: '#000000',
  },
}
SCSS
$custom: #40c779;
$custom-light: #85d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c779",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 145.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73822,
    "c": 0.16196,
    "h": 153.8
  },
  "luminance": 0.43317
}

Semantic roles & 50–950 ramp

primary
#40C779
secondary
#CF94B6
accent
#4A9FDE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40C779

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

Preview Lab → · Contrast checker → · Palette generator →

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