#40C77B#40C77B

#40C77B is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.160 H 154.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#40C77B
RGBrgb(64, 199, 123)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 68%, 78%)
CMYKcmyk(67.8%, 0%, 38.2%, 22%)
CIE-LABlab(71.80, -53.42, 27.73)
CIE-LCHlch(71.80, 60.19, 152.56°)
OKLaboklab(73.86% -0.1444 0.0693)
OKLCHoklch(73.86% 0.16 154.4)
XYZxyz(26.1106, 43.3640, 25.7291)
Luminance0.4337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C77B #C7408C
analogous
#49C740 #40C77B #40C7BF
triadic
#40C77B #7B40C7 #C77B40
tetradic
#40C77B #4049C7 #C7408C #C7BF40
square
#40C77B #4049C7 #C7408C #C7BF40
split-complementary
#40C77B #BF40C7 #C74049
monochromatic
#206D41 #2E9C5E #40C77B #6FD59C #9FE3BC

Accessibility & contrast

On white

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

On black

9.67
#40C77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C77B
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C77B#FFFFFF#000000##000000
##40C77B1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B776
Deuteranopia (green-blind)
#B6AB80
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c77b;
/* rgb */ color: rgb(64, 199, 123);
/* oklch */ color: oklch(73.9% 0.160 154.4);
Tailwind
colors: {
  custom: {
    50: '#85d9a2',
    500: '#40c77b',
    950: '#000000',
  },
}
SCSS
$custom: #40c77b;
$custom-light: #85d9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c77b",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 123
  },
  "hsl": {
    "h": 146.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7386,
    "c": 0.16013,
    "h": 154.4
  },
  "luminance": 0.43367
}

Semantic roles & 50–950 ramp

primary
#40C77B
secondary
#CF94B5
accent
#4A9DDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C77B

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

Preview Lab → · Contrast checker → · Palette generator →

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