#40C279#40C279

#40C279 is a light, vivid green. Relative luminance 0.411; OKLCH L 72.5% C 0.155 H 154.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#40C279
RGBrgb(64, 194, 121)
HSLhsl(146, 52%, 51%)
HSVhsv(146, 67%, 76%)
CMYKcmyk(67%, 0%, 37.6%, 23.9%)
CIE-LABlab(70.21, -51.86, 26.67)
CIE-LCHlch(70.21, 58.32, 152.79°)
OKLaboklab(72.54% -0.1403 0.0667)
OKLCHoklch(72.54% 0.155 154.6)
XYZxyz(24.8551, 41.0514, 24.6993)
Luminance0.4105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C279 #C24089
analogous
#48C240 #40C279 #40C2BA
triadic
#40C279 #7940C2 #C27940
tetradic
#40C279 #4048C2 #C24089 #C2BA40
square
#40C279 #4048C2 #C24089 #C2BA40
split-complementary
#40C279 #BA40C2 #C24048
monochromatic
#21673F #30955C #40C279 #6ED19A #9DE0BA

Accessibility & contrast

On white

2.28
#40C279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#40C279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C279
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C279#FFFFFF#000000##000000
##40C2791.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B374
Deuteranopia (green-blind)
#B1A77E
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c279;
/* rgb */ color: rgb(64, 194, 121);
/* oklch */ color: oklch(72.5% 0.155 154.6);
Tailwind
colors: {
  custom: {
    50: '#84d5a0',
    500: '#40c279',
    950: '#000000',
  },
}
SCSS
$custom: #40c279;
$custom-light: #84d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c279",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 121
  },
  "hsl": {
    "h": 146.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.15531,
    "h": 154.6
  },
  "luminance": 0.41054
}

Semantic roles & 50–950 ramp

primary
#40C279
secondary
#CC92B2
accent
#4D9DDB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C279

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

Preview Lab → · Contrast checker → · Palette generator →

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