#2CB940#2CB940

#2CB940 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.199 H 144.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2CB940
RGBrgb(44, 185, 64)
HSLhsl(129, 62%, 45%)
HSVhsv(129, 76%, 73%)
CMYKcmyk(76.2%, 0%, 65.4%, 27.5%)
CIE-LABlab(66.21, -60.43, 49.45)
CIE-LCHlch(66.21, 78.08, 140.71°)
OKLaboklab(68.88% -0.1631 0.1147)
OKLCHoklch(68.88% 0.199 144.9)
XYZxyz(19.3117, 35.6013, 10.7035)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB940 #B92CA5
analogous
#5EB92C #2CB940 #2CB987
triadic
#2CB940 #402CB9 #B9402C
tetradic
#2CB940 #2C5EB9 #B92CA5 #B9872C
square
#2CB940 #2C5EB9 #B92CA5 #B9872C
split-complementary
#2CB940 #872CB9 #B92C5E
monochromatic
#14561E #20882F #2CB940 #4DD561 #7FE18D

Accessibility & contrast

On white

2.59
#2CB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#2CB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB940
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB940#FFFFFF#000000##000000
##2CB9401.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#AC9D4B
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2cb940;
/* rgb */ color: rgb(44, 185, 64);
/* oklch */ color: oklch(68.9% 0.199 144.9);
Tailwind
colors: {
  custom: {
    50: '#7ccf7a',
    500: '#2cb940',
    950: '#000000',
  },
}
SCSS
$custom: #2cb940;
$custom-light: #7ccf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb940",
  "rgb": {
    "r": 44,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 128.511,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.19943,
    "h": 144.9
  },
  "luminance": 0.35604
}

Semantic roles & 50–950 ramp

primary
#2CB940
secondary
#C978BE
accent
#43CEE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2CB940

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

Preview Lab → · Contrast checker → · Palette generator →

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