#40C978#40C978

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

Color values

HEX#40C978
RGBrgb(64, 201, 120)
HSLhsl(145, 56%, 52%)
HSVhsv(145, 68%, 79%)
CMYKcmyk(68.2%, 0%, 40.3%, 21.2%)
CIE-LABlab(72.37, -54.73, 30.05)
CIE-LCHlch(72.37, 62.44, 151.23°)
OKLaboklab(74.32% -0.1477 0.0747)
OKLCHoklch(74.32% 0.166 153.2)
XYZxyz(26.3889, 44.2165, 24.9096)
Luminance0.4422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C978 #C94091
analogous
#4DC940 #40C978 #40C9BD
triadic
#40C978 #7840C9 #C97840
tetradic
#40C978 #404DC9 #C94091 #C9BD40
square
#40C978 #404DC9 #C94091 #C9BD40
split-complementary
#40C978 #BD40C9 #C9404D
monochromatic
#1F6F40 #2D9F5C #40C978 #70D69A #9FE4BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C978#FFFFFF#000000##000000
##40C9781.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)
#C9B972
Deuteranopia (green-blind)
#B8AD7D
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c978;
/* rgb */ color: rgb(64, 201, 120);
/* oklch */ color: oklch(74.3% 0.166 153.2);
Tailwind
colors: {
  custom: {
    50: '#85daa0',
    500: '#40c978',
    950: '#000000',
  },
}
SCSS
$custom: #40c978;
$custom-light: #85daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c978",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 144.526,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.16552,
    "h": 153.2
  },
  "luminance": 0.44219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C978

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

Preview Lab → · Contrast checker → · Palette generator →

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