#2CB842#2CB842

#2CB842 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.6% C 0.197 H 145.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2CB842
RGBrgb(44, 184, 66)
HSLhsl(129, 61%, 45%)
HSVhsv(129, 76%, 72%)
CMYKcmyk(76.1%, 0%, 64.1%, 27.8%)
CIE-LABlab(65.91, -59.88, 48.25)
CIE-LCHlch(65.91, 76.90, 141.14°)
OKLaboklab(68.63% -0.1616 0.1124)
OKLCHoklch(68.63% 0.197 145.2)
XYZxyz(19.1612, 35.2076, 10.9391)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB842 #B82CA2
analogous
#5CB82C #2CB842 #2CB888
triadic
#2CB842 #422CB8 #B8422C
tetradic
#2CB842 #2C5CB8 #B82CA2 #B8882C
square
#2CB842 #2C5CB8 #B82CA2 #B8882C
split-complementary
#2CB842 #882CB8 #B82C5C
monochromatic
#14551F #208730 #2CB842 #4DD462 #7EE08E

Accessibility & contrast

On white

2.61
#2CB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#2CB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB842
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB842#FFFFFF#000000##000000
##2CB8421.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#AB9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2cb842;
/* rgb */ color: rgb(44, 184, 66);
/* oklch */ color: oklch(68.6% 0.197 145.2);
Tailwind
colors: {
  custom: {
    50: '#7ccf7b',
    500: '#2cb842',
    950: '#000000',
  },
}
SCSS
$custom: #2cb842;
$custom-light: #7ccf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb842",
  "rgb": {
    "r": 44,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 129.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.19681,
    "h": 145.2
  },
  "luminance": 0.3521
}

Semantic roles & 50–950 ramp

primary
#2CB842
secondary
#C977BC
accent
#43CBE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2CB842

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

Preview Lab → · Contrast checker → · Palette generator →

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