#40CC3C#40CC3C

#40CC3C is a light, highly saturated green. Relative luminance 0.446; OKLCH L 74.3% C 0.218 H 142.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#40CC3C
RGBrgb(64, 204, 60)
HSLhsl(118, 59%, 52%)
HSVhsv(118, 71%, 80%)
CMYKcmyk(68.6%, 0%, 70.6%, 20%)
CIE-LABlab(72.63, -63.71, 58.02)
CIE-LCHlch(72.63, 86.17, 137.68°)
OKLaboklab(74.3% -0.1732 0.1322)
OKLCHoklch(74.3% 0.218 142.6)
XYZxyz(24.5214, 44.5993, 11.5903)
Luminance0.4460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC3C #C83CCC
analogous
#88CC3C #40CC3C #3CCC80
triadic
#40CC3C #3C40CC #CC3C40
tetradic
#40CC3C #3C88CC #C83CCC #CC803C
square
#40CC3C #3C88CC #C83CCC #CC803C
split-complementary
#40CC3C #803CCC #CC3C88
monochromatic
#20701D #2DA12A #40CC3C #70D96D #9FE59D

Accessibility & contrast

On white

2.12
#40CC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#40CC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC3C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC3C#FFFFFF#000000##000000
##40CC3C1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B925
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#19C6B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cc3c;
/* rgb */ color: rgb(64, 204, 60);
/* oklch */ color: oklch(74.3% 0.218 142.6);
Tailwind
colors: {
  custom: {
    50: '#88dd7a',
    500: '#40cc3c',
    950: '#000000',
  },
}
SCSS
$custom: #40cc3c;
$custom-light: #88dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc3c",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 118.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.21787,
    "h": 142.6
  },
  "luminance": 0.44602
}

Semantic roles & 50–950 ramp

primary
#40CC3C
secondary
#D092D1
accent
#46E2DD
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40CC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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