#40C579#40C579

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

Color values

HEX#40C579
RGBrgb(64, 197, 121)
HSLhsl(146, 53%, 51%)
HSVhsv(146, 68%, 77%)
CMYKcmyk(67.5%, 0%, 38.6%, 22.7%)
CIE-LABlab(71.15, -53.02, 27.91)
CIE-LCHlch(71.15, 59.92, 152.24°)
OKLaboklab(73.31% -0.1433 0.0696)
OKLCHoklch(73.31% 0.159 154.1)
XYZxyz(25.5296, 42.4002, 24.9241)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C579 #C5408C
analogous
#49C540 #40C579 #40C5BB
triadic
#40C579 #7940C5 #C57940
tetradic
#40C579 #4049C5 #C5408C #C5BB40
square
#40C579 #4049C5 #C5408C #C5BB40
split-complementary
#40C579 #BB40C5 #C54049
monochromatic
#206A40 #2F995C #40C579 #6FD39A #9EE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C579#FFFFFF#000000##000000
##40C5791.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)
#C5B574
Deuteranopia (green-blind)
#B4A97E
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c579;
/* rgb */ color: rgb(64, 197, 121);
/* oklch */ color: oklch(73.3% 0.159 154.1);
Tailwind
colors: {
  custom: {
    50: '#84d7a0',
    500: '#40c579',
    950: '#000000',
  },
}
SCSS
$custom: #40c579;
$custom-light: #84d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c579",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 121
  },
  "hsl": {
    "h": 145.714,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.15931,
    "h": 154.1
  },
  "luminance": 0.42403
}

Semantic roles & 50–950 ramp

primary
#40C579
secondary
#CE93B5
accent
#4B9EDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C579

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

Preview Lab → · Contrast checker → · Palette generator →

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