#40C578#40C578

#40C578 is a light, vivid green. Relative luminance 0.424; OKLCH L 73.3% C 0.160 H 153.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#40C578
RGBrgb(64, 197, 120)
HSLhsl(145, 53%, 51%)
HSVhsv(145, 68%, 77%)
CMYKcmyk(67.5%, 0%, 39.1%, 22.7%)
CIE-LABlab(71.13, -53.21, 28.41)
CIE-LCHlch(71.13, 60.32, 151.90°)
OKLaboklab(73.29% -0.1437 0.0708)
OKLCHoklch(73.29% 0.16 153.8)
XYZxyz(25.4686, 42.3758, 24.6028)
Luminance0.4238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C578 #C5408D
analogous
#4AC540 #40C578 #40C5BA
triadic
#40C578 #7840C5 #C57840
tetradic
#40C578 #404AC5 #C5408D #C5BA40
square
#40C578 #404AC5 #C5408D #C5BA40
split-complementary
#40C578 #BA40C5 #C5404A
monochromatic
#206A3F #2F995B #40C578 #6FD399 #9EE2BA

Accessibility & contrast

On white

2.22
#40C578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#40C578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C578
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C578#FFFFFF#000000##000000
##40C5781.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B573
Deuteranopia (green-blind)
#B4A97D
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c578;
/* rgb */ color: rgb(64, 197, 120);
/* oklch */ color: oklch(73.3% 0.160 153.8);
Tailwind
colors: {
  custom: {
    50: '#84d79f',
    500: '#40c578',
    950: '#000000',
  },
}
SCSS
$custom: #40c578;
$custom-light: #84d79f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c578",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 120
  },
  "hsl": {
    "h": 145.263,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.16022,
    "h": 153.8
  },
  "luminance": 0.42379
}

Semantic roles & 50–950 ramp

primary
#40C578
secondary
#CE93B5
accent
#4B9FDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C578

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

Preview Lab → · Contrast checker → · Palette generator →

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