#2C8752#2C8752

#2C8752 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.6% C 0.119 H 153.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C8752
RGBrgb(44, 135, 82)
HSLhsl(145, 51%, 35%)
HSVhsv(145, 67%, 53%)
CMYKcmyk(67.4%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.06, -39.44, 20.88)
CIE-LCHlch(50.06, 44.63, 152.10°)
OKLaboklab(55.6% -0.1067 0.0522)
OKLCHoklch(55.6% 0.119 153.9)
XYZxyz(11.2247, 18.4714, 10.9548)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8752 #872C61
analogous
#33872C #2C8752 #2C877F
triadic
#2C8752 #522C87 #87522C
tetradic
#2C8752 #2C3387 #872C61 #877F2C
square
#2C8752 #2C3387 #872C61 #877F2C
split-complementary
#2C8752 #7F2C87 #872C33
monochromatic
#0E2B1A #1D5936 #2C8752 #3BB56E #62CC8E

Accessibility & contrast

On white

4.47
#2C8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2C8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8752
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8752#FFFFFF#000000##000000
##2C87521.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#00857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8752;
/* rgb */ color: rgb(44, 135, 82);
/* oklch */ color: oklch(55.6% 0.119 153.9);
Tailwind
colors: {
  custom: {
    50: '#70ab83',
    500: '#2c8752',
    950: '#000000',
  },
}
SCSS
$custom: #2c8752;
$custom-light: #70ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8752",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 145.055,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.11874,
    "h": 153.9
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#2C8752
secondary
#B25D8E
accent
#4DA0DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8752

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

Preview Lab → · Contrast checker → · Palette generator →

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