#40C977#40C977

#40C977 is a light, vivid green. Relative luminance 0.442; OKLCH L 74.3% C 0.166 H 152.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#40C977
RGBrgb(64, 201, 119)
HSLhsl(144, 56%, 52%)
HSVhsv(144, 68%, 79%)
CMYKcmyk(68.2%, 0%, 40.8%, 21.2%)
CIE-LABlab(72.36, -54.91, 30.54)
CIE-LCHlch(72.36, 62.83, 150.92°)
OKLaboklab(74.3% -0.1482 0.0758)
OKLCHoklch(74.3% 0.166 152.9)
XYZxyz(26.3285, 44.1923, 24.5916)
Luminance0.4420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C977 #C94092
analogous
#4EC940 #40C977 #40C9BC
triadic
#40C977 #7740C9 #C97740
tetradic
#40C977 #404EC9 #C94092 #C9BC40
square
#40C977 #404EC9 #C94092 #C9BC40
split-complementary
#40C977 #BC40C9 #C9404E
monochromatic
#1F6F3F #2D9F5B #40C977 #70D699 #9FE4BB

Accessibility & contrast

On white

2.13
#40C977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#40C977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C977
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C977#FFFFFF#000000##000000
##40C9771.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B971
Deuteranopia (green-blind)
#B8AD7C
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c977;
/* rgb */ color: rgb(64, 201, 119);
/* oklch */ color: oklch(74.3% 0.166 152.9);
Tailwind
colors: {
  custom: {
    50: '#85da9f',
    500: '#40c977',
    950: '#000000',
  },
}
SCSS
$custom: #40c977;
$custom-light: #85da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c977",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 119
  },
  "hsl": {
    "h": 144.088,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74296,
    "c": 0.16644,
    "h": 152.9
  },
  "luminance": 0.44195
}

Semantic roles & 50–950 ramp

primary
#40C977
secondary
#D094B8
accent
#49A3DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C977

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

Preview Lab → · Contrast checker → · Palette generator →

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