#40C357#40C357

#40C357 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.2% C 0.187 H 146.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#40C357
RGBrgb(64, 195, 87)
HSLhsl(131, 52%, 51%)
HSVhsv(131, 67%, 76%)
CMYKcmyk(67.2%, 0%, 55.4%, 23.5%)
CIE-LABlab(70.04, -57.72, 43.56)
CIE-LCHlch(70.04, 72.31, 142.96°)
OKLaboklab(72.24% -0.1558 0.1039)
OKLCHoklch(72.24% 0.187 146.3)
XYZxyz(23.3481, 40.8058, 15.6608)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C357 #C340AC
analogous
#6AC340 #40C357 #40C398
triadic
#40C357 #5740C3 #C35740
tetradic
#40C357 #406AC3 #C340AC #C39840
square
#40C357 #406AC3 #C340AC #C39840
split-complementary
#40C357 #9840C3 #C3406A
monochromatic
#21682D #2F9741 #40C357 #6FD280 #9DE0A9

Accessibility & contrast

On white

2.29
#40C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#40C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C357
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C357#FFFFFF#000000##000000
##40C3571.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24D
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#11BFAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c357;
/* rgb */ color: rgb(64, 195, 87);
/* oklch */ color: oklch(72.2% 0.187 146.3);
Tailwind
colors: {
  custom: {
    50: '#85d689',
    500: '#40c357',
    950: '#000000',
  },
}
SCSS
$custom: #40c357;
$custom-light: #85d689;
$custom-dark: #000000;
JSON
{
  "hex": "#40c357",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 130.534,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72241,
    "c": 0.18729,
    "h": 146.3
  },
  "luminance": 0.40808
}

Semantic roles & 50–950 ramp

primary
#40C357
secondary
#CC92C2
accent
#4CC2DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C357

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

Preview Lab → · Contrast checker → · Palette generator →

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