#40C351#40C351

#40C351 is a light, vivid green. Relative luminance 0.407; OKLCH L 72.2% C 0.192 H 145.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#40C351
RGBrgb(64, 195, 81)
HSLhsl(128, 52%, 51%)
HSVhsv(128, 67%, 76%)
CMYKcmyk(67.2%, 0%, 58.5%, 23.5%)
CIE-LABlab(69.97, -58.49, 46.28)
CIE-LCHlch(69.97, 74.58, 141.65°)
OKLaboklab(72.17% -0.1581 0.1094)
OKLCHoklch(72.17% 0.192 145.3)
XYZxyz(23.1131, 40.7118, 14.4231)
Luminance0.4071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C351 #C340B2
analogous
#70C340 #40C351 #40C392
triadic
#40C351 #5140C3 #C35140
tetradic
#40C351 #4070C3 #C340B2 #C39240
square
#40C351 #4070C3 #C340B2 #C39240
split-complementary
#40C351 #9240C3 #C34070
monochromatic
#21682A #2F973D #40C351 #6FD27B #9DE0A6

Accessibility & contrast

On white

2.30
#40C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#40C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C351
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C351#FFFFFF#000000##000000
##40C3511.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B245
Deuteranopia (green-blind)
#B6A75A
Tritanopia (blue-blind)
#16BEAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c351;
/* rgb */ color: rgb(64, 195, 81);
/* oklch */ color: oklch(72.2% 0.192 145.3);
Tailwind
colors: {
  custom: {
    50: '#85d685',
    500: '#40c351',
    950: '#000000',
  },
}
SCSS
$custom: #40c351;
$custom-light: #85d685;
$custom-dark: #000000;
JSON
{
  "hex": "#40c351",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 127.786,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.19225,
    "h": 145.3
  },
  "luminance": 0.40714
}

Semantic roles & 50–950 ramp

primary
#40C351
secondary
#CC92C5
accent
#4CC9DC
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C351

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

Preview Lab → · Contrast checker → · Palette generator →

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