#40CC4C#40CC4C

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

Color values

HEX#40CC4C
RGBrgb(64, 204, 76)
HSLhsl(125, 58%, 53%)
HSVhsv(125, 69%, 80%)
CMYKcmyk(68.6%, 0%, 62.7%, 20%)
CIE-LABlab(72.76, -62.17, 51.69)
CIE-LCHlch(72.76, 80.85, 140.26°)
OKLaboklab(74.45% -0.1682 0.1206)
OKLCHoklch(74.45% 0.207 144.4)
XYZxyz(25.0101, 44.7948, 14.1643)
Luminance0.4480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC4C #CC40C0
analogous
#7ACC40 #40CC4C #40CC92
triadic
#40CC4C #4C40CC #CC4C40
tetradic
#40CC4C #407ACC #CC40C0 #CC9240
square
#40CC4C #407ACC #CC40C0 #CC9240
split-complementary
#40CC4C #9240CC #CC407A
monochromatic
#1F7326 #2CA336 #40CC4C #70D979 #A1E6A7

Accessibility & contrast

On white

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

On black

9.96
#40CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC4C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC4C#FFFFFF#000000##000000
##40CC4C1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93D
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#10C7B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cc4c;
/* rgb */ color: rgb(64, 204, 76);
/* oklch */ color: oklch(74.5% 0.207 144.4);
Tailwind
colors: {
  custom: {
    50: '#87dd83',
    500: '#40cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #40cc4c;
$custom-light: #87dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc4c",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 125.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.207,
    "h": 144.4
  },
  "luminance": 0.44798
}

Semantic roles & 50–950 ramp

primary
#40CC4C
secondary
#D295CD
accent
#47D4E1
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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