#40C452#40C452

#40C452 is a light, vivid green. Relative luminance 0.412; OKLCH L 72.4% C 0.193 H 145.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#40C452
RGBrgb(64, 196, 82)
HSLhsl(128, 53%, 51%)
HSVhsv(128, 67%, 77%)
CMYKcmyk(67.3%, 0%, 58.2%, 23.1%)
CIE-LABlab(70.30, -58.72, 46.20)
CIE-LCHlch(70.30, 74.71, 141.80°)
OKLaboklab(72.44% -0.1587 0.1093)
OKLCHoklch(72.44% 0.193 145.4)
XYZxyz(23.3757, 41.1766, 14.6970)
Luminance0.4118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C452 #C440B2
analogous
#70C440 #40C452 #40C494
triadic
#40C452 #5240C4 #C45240
tetradic
#40C452 #4070C4 #C440B2 #C49440
square
#40C452 #4070C4 #C440B2 #C49440
split-complementary
#40C452 #9440C4 #C44070
monochromatic
#20692A #2F983D #40C452 #6FD27C #9EE1A7

Accessibility & contrast

On white

2.27
#40C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#40C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C452
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C452#FFFFFF#000000##000000
##40C4521.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#B7A85B
Tritanopia (blue-blind)
#14BFAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c452;
/* rgb */ color: rgb(64, 196, 82);
/* oklch */ color: oklch(72.4% 0.193 145.4);
Tailwind
colors: {
  custom: {
    50: '#85d786',
    500: '#40c452',
    950: '#000000',
  },
}
SCSS
$custom: #40c452;
$custom-light: #85d786;
$custom-dark: #000000;
JSON
{
  "hex": "#40c452",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 128.182,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72438,
    "c": 0.19268,
    "h": 145.4
  },
  "luminance": 0.41179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C452

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

Preview Lab → · Contrast checker → · Palette generator →

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