#2C8748#2C8748

#2C8748 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.129 H 150.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C8748
RGBrgb(44, 135, 72)
HSLhsl(138, 51%, 35%)
HSVhsv(138, 67%, 53%)
CMYKcmyk(67.4%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.89, -41.32, 26.18)
CIE-LCHlch(49.89, 48.92, 147.64°)
OKLaboklab(55.4% -0.1114 0.0643)
OKLCHoklch(55.4% 0.129 150)
XYZxyz(10.8715, 18.3302, 9.0948)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8748 #872C6B
analogous
#3D872C #2C8748 #2C8776
triadic
#2C8748 #482C87 #87482C
tetradic
#2C8748 #2C3D87 #872C6B #87762C
square
#2C8748 #2C3D87 #872C6B #87762C
split-complementary
#2C8748 #762C87 #872C3D
monochromatic
#0E2B17 #1D592F #2C8748 #3BB561 #62CC82

Accessibility & contrast

On white

4.50
#2C8748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2C8748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8748
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8748#FFFFFF#000000##000000
##2C87481.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C43
Deuteranopia (green-blind)
#7C744C
Tritanopia (blue-blind)
#058578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8748;
/* rgb */ color: rgb(44, 135, 72);
/* oklch */ color: oklch(55.4% 0.129 150.0);
Tailwind
colors: {
  custom: {
    50: '#71ab7c',
    500: '#2c8748',
    950: '#000000',
  },
}
SCSS
$custom: #2c8748;
$custom-light: #71ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8748",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 138.462,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.12863,
    "h": 150
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#2C8748
secondary
#B25D98
accent
#4DAFDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8748

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

Preview Lab → · Contrast checker → · Palette generator →

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