#40C379#40C379

#40C379 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.8% C 0.157 H 154.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#40C379
RGBrgb(64, 195, 121)
HSLhsl(146, 52%, 51%)
HSVhsv(146, 67%, 76%)
CMYKcmyk(67.2%, 0%, 37.9%, 23.5%)
CIE-LABlab(70.52, -52.25, 27.08)
CIE-LCHlch(70.52, 58.85, 152.60°)
OKLaboklab(72.8% -0.1413 0.0677)
OKLCHoklch(72.8% 0.157 154.4)
XYZxyz(25.0784, 41.4980, 24.7737)
Luminance0.4150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C379 #C3408A
analogous
#48C340 #40C379 #40C3BA
triadic
#40C379 #7940C3 #C37940
tetradic
#40C379 #4048C3 #C3408A #C3BA40
square
#40C379 #4048C3 #C3408A #C3BA40
split-complementary
#40C379 #BA40C3 #C34048
monochromatic
#216840 #2F975C #40C379 #6FD29A #9DE0BA

Accessibility & contrast

On white

2.26
#40C379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#40C379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C379
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C379#FFFFFF#000000##000000
##40C3791.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B474
Deuteranopia (green-blind)
#B2A87E
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c379;
/* rgb */ color: rgb(64, 195, 121);
/* oklch */ color: oklch(72.8% 0.157 154.4);
Tailwind
colors: {
  custom: {
    50: '#84d6a0',
    500: '#40c379',
    950: '#000000',
  },
}
SCSS
$custom: #40c379;
$custom-light: #84d6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c379",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 121
  },
  "hsl": {
    "h": 146.107,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.15664,
    "h": 154.4
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#40C379
secondary
#CC92B3
accent
#4C9DDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C379

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

Preview Lab → · Contrast checker → · Palette generator →

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