#40C852#40C852

#40C852 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.198 H 145.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#40C852
RGBrgb(64, 200, 82)
HSLhsl(128, 55%, 52%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(68%, 0%, 59%, 21.6%)
CIE-LABlab(71.56, -60.11, 47.67)
CIE-LCHlch(71.56, 76.71, 141.59°)
OKLaboklab(73.48% -0.1624 0.1125)
OKLCHoklch(73.48% 0.198 145.3)
XYZxyz(24.2900, 43.0051, 15.0017)
Luminance0.4301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C852 #C840B6
analogous
#72C840 #40C852 #40C896
triadic
#40C852 #5240C8 #C85240
tetradic
#40C852 #4072C8 #C840B6 #C89640
square
#40C852 #4072C8 #C840B6 #C89640
split-complementary
#40C852 #9640C8 #C84072
monochromatic
#206E2A #2D9D3C #40C852 #70D67D #9FE3A8

Accessibility & contrast

On white

2.19
#40C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#40C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C852
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C852#FFFFFF#000000##000000
##40C8521.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#0FC3AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c852;
/* rgb */ color: rgb(64, 200, 82);
/* oklch */ color: oklch(73.5% 0.198 145.3);
Tailwind
colors: {
  custom: {
    50: '#86da86',
    500: '#40c852',
    950: '#000000',
  },
}
SCSS
$custom: #40c852;
$custom-light: #86da86;
$custom-dark: #000000;
JSON
{
  "hex": "#40c852",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 127.941,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73479,
    "c": 0.19758,
    "h": 145.3
  },
  "luminance": 0.43008
}

Semantic roles & 50–950 ramp

primary
#40C852
secondary
#D094C8
accent
#49CBDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C852

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

Preview Lab → · Contrast checker → · Palette generator →

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