#40C352#40C352

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

Color values

HEX#40C352
RGBrgb(64, 195, 82)
HSLhsl(128, 52%, 51%)
HSVhsv(128, 67%, 76%)
CMYKcmyk(67.2%, 0%, 57.9%, 23.5%)
CIE-LABlab(69.98, -58.36, 45.83)
CIE-LCHlch(69.98, 74.21, 141.86°)
OKLaboklab(72.18% -0.1577 0.1085)
OKLCHoklch(72.18% 0.191 145.5)
XYZxyz(23.1509, 40.7270, 14.6220)
Luminance0.4073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C352 #C340B1
analogous
#6FC340 #40C352 #40C393
triadic
#40C352 #5240C3 #C35240
tetradic
#40C352 #406FC3 #C340B1 #C39340
square
#40C352 #406FC3 #C340B1 #C39340
split-complementary
#40C352 #9340C3 #C3406F
monochromatic
#21682A #2F973D #40C352 #6FD27C #9DE0A6

Accessibility & contrast

On white

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

On black

9.15
#40C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C352
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C352#FFFFFF#000000##000000
##40C3521.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#B6A75B
Tritanopia (blue-blind)
#15BEAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c352;
/* rgb */ color: rgb(64, 195, 82);
/* oklch */ color: oklch(72.2% 0.191 145.5);
Tailwind
colors: {
  custom: {
    50: '#85d686',
    500: '#40c352',
    950: '#000000',
  },
}
SCSS
$custom: #40c352;
$custom-light: #85d686;
$custom-dark: #000000;
JSON
{
  "hex": "#40c352",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 128.244,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72177,
    "c": 0.19144,
    "h": 145.5
  },
  "luminance": 0.40729
}

Semantic roles & 50–950 ramp

primary
#40C352
secondary
#CC92C4
accent
#4CC8DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C352

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

Preview Lab → · Contrast checker → · Palette generator →

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