#2CC040#2CC040

#2CC040 is a light, highly saturated green. Relative luminance 0.386; OKLCH L 70.7% C 0.207 H 144.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2CC040
RGBrgb(44, 192, 64)
HSLhsl(128, 63%, 46%)
HSVhsv(128, 77%, 75%)
CMYKcmyk(77.1%, 0%, 66.7%, 24.7%)
CIE-LABlab(68.46, -62.69, 51.91)
CIE-LCHlch(68.46, 81.39, 140.38°)
OKLaboklab(70.75% -0.1693 0.1199)
OKLCHoklch(70.75% 0.207 144.7)
XYZxyz(20.8123, 38.6024, 11.2036)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CC040 #C02CAC
analogous
#62C02C #2CC040 #2CC08A
triadic
#2CC040 #402CC0 #C0402C
tetradic
#2CC040 #2C62C0 #C02CAC #C08A2C
square
#2CC040 #2C62C0 #C02CAC #C08A2C
split-complementary
#2CC040 #8A2CC0 #C02C62
monochromatic
#155C1F #218E2F #2CC040 #52D764 #84E391

Accessibility & contrast

On white

2.41
#2CC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#2CC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CC040
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CC040#FFFFFF#000000##000000
##2CC0401.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2F
Deuteranopia (green-blind)
#B3A34C
Tritanopia (blue-blind)
#00BBA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #2cc040;
/* rgb */ color: rgb(44, 192, 64);
/* oklch */ color: oklch(70.7% 0.207 144.7);
Tailwind
colors: {
  custom: {
    50: '#7ed47b',
    500: '#2cc040',
    950: '#000000',
  },
}
SCSS
$custom: #2cc040;
$custom-light: #7ed47b;
$custom-dark: #000000;
JSON
{
  "hex": "#2cc040",
  "rgb": {
    "r": 44,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 128.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.20746,
    "h": 144.7
  },
  "luminance": 0.38605
}

Semantic roles & 50–950 ramp

primary
#2CC040
secondary
#CC7CC1
accent
#42D0E6
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #2CC040

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

Preview Lab → · Contrast checker → · Palette generator →

#2CC040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva