#40C552#40C552

#40C552 is a light, vivid green. Relative luminance 0.416; OKLCH L 72.7% C 0.194 H 145.4°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#40C552
RGBrgb(64, 197, 82)
HSLhsl(128, 53%, 51%)
HSVhsv(128, 68%, 77%)
CMYKcmyk(67.5%, 0%, 58.4%, 22.7%)
CIE-LABlab(70.61, -59.07, 46.57)
CIE-LCHlch(70.61, 75.21, 141.75°)
OKLaboklab(72.7% -0.1596 0.1101)
OKLCHoklch(72.7% 0.194 145.4)
XYZxyz(23.6020, 41.6292, 14.7724)
Luminance0.4163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C552 #C540B3
analogous
#70C540 #40C552 #40C594
triadic
#40C552 #5240C5 #C55240
tetradic
#40C552 #4070C5 #C540B3 #C59440
square
#40C552 #4070C5 #C540B3 #C59440
split-complementary
#40C552 #9440C5 #C54070
monochromatic
#206A2A #2F993D #40C552 #6FD37D #9EE2A7

Accessibility & contrast

On white

2.25
#40C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#40C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C552
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C552#FFFFFF#000000##000000
##40C5521.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#B8A85B
Tritanopia (blue-blind)
#13C0AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c552;
/* rgb */ color: rgb(64, 197, 82);
/* oklch */ color: oklch(72.7% 0.194 145.4);
Tailwind
colors: {
  custom: {
    50: '#85d886',
    500: '#40c552',
    950: '#000000',
  },
}
SCSS
$custom: #40c552;
$custom-light: #85d886;
$custom-dark: #000000;
JSON
{
  "hex": "#40c552",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 128.12,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.19391,
    "h": 145.4
  },
  "luminance": 0.41632
}

Semantic roles & 50–950 ramp

primary
#40C552
secondary
#CE93C6
accent
#4BC9DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C552

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

Preview Lab → · Contrast checker → · Palette generator →

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