#40CC4F#40CC4F

#40CC4F is a light, highly saturated green. Relative luminance 0.448; OKLCH L 74.5% C 0.205 H 144.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#40CC4F
RGBrgb(64, 204, 79)
HSLhsl(126, 58%, 53%)
HSVhsv(126, 69%, 80%)
CMYKcmyk(68.6%, 0%, 61.3%, 20%)
CIE-LABlab(72.78, -61.84, 50.42)
CIE-LCHlch(72.78, 79.78, 140.81°)
OKLaboklab(74.48% -0.1672 0.1182)
OKLCHoklch(74.48% 0.205 144.8)
XYZxyz(25.1169, 44.8375, 14.7264)
Luminance0.4484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC4F #CC40BD
analogous
#77CC40 #40CC4F #40CC95
triadic
#40CC4F #4F40CC #CC4F40
tetradic
#40CC4F #4077CC #CC40BD #CC9540
square
#40CC4F #4077CC #CC40BD #CC9540
split-complementary
#40CC4F #9540CC #CC4077
monochromatic
#1F7328 #2CA338 #40CC4F #70D97C #A1E6A8

Accessibility & contrast

On white

2.11
#40CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#40CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC4F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC4F#FFFFFF#000000##000000
##40CC4F1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA41
Deuteranopia (green-blind)
#BFAE5A
Tritanopia (blue-blind)
#0DC7B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc4f;
/* rgb */ color: rgb(64, 204, 79);
/* oklch */ color: oklch(74.5% 0.205 144.8);
Tailwind
colors: {
  custom: {
    50: '#87dd85',
    500: '#40cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #40cc4f;
$custom-light: #87dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc4f",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 126.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74484,
    "c": 0.20475,
    "h": 144.8
  },
  "luminance": 0.4484
}

Semantic roles & 50–950 ramp

primary
#40CC4F
secondary
#D295CC
accent
#47D1E1
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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