#40CC5A#40CC5A

#40CC5A is a light, vivid green. Relative luminance 0.450; OKLCH L 74.6% C 0.196 H 146.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#40CC5A
RGBrgb(64, 204, 90)
HSLhsl(131, 58%, 53%)
HSVhsv(131, 69%, 80%)
CMYKcmyk(68.6%, 0%, 55.9%, 20%)
CIE-LABlab(72.90, -60.49, 45.55)
CIE-LCHlch(72.90, 75.73, 143.02°)
OKLaboklab(74.62% -0.1632 0.1085)
OKLCHoklch(74.62% 0.196 146.4)
XYZxyz(25.5509, 45.0111, 17.0123)
Luminance0.4501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC5A #CC40B2
analogous
#6CCC40 #40CC5A #40CCA0
triadic
#40CC5A #5A40CC #CC5A40
tetradic
#40CC5A #406CCC #CC40B2 #CCA040
square
#40CC5A #406CCC #CC40B2 #CCA040
split-complementary
#40CC5A #A040CC #CC406C
monochromatic
#1F732E #2CA342 #40CC5A #70D984 #A1E6AD

Accessibility & contrast

On white

2.10
#40CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#40CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC5A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC5A#FFFFFF#000000##000000
##40CC5A1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4F
Deuteranopia (green-blind)
#BEAE63
Tritanopia (blue-blind)
#00C7B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc5a;
/* rgb */ color: rgb(64, 204, 90);
/* oklch */ color: oklch(74.6% 0.196 146.4);
Tailwind
colors: {
  custom: {
    50: '#87dd8c',
    500: '#40cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #40cc5a;
$custom-light: #87dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc5a",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 131.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74616,
    "c": 0.19598,
    "h": 146.4
  },
  "luminance": 0.45014
}

Semantic roles & 50–950 ramp

primary
#40CC5A
secondary
#D295C7
accent
#47C4E1
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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