#2C8545#2C8545

#2C8545 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.129 H 149.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2C8545
RGBrgb(44, 133, 69)
HSLhsl(137, 50%, 35%)
HSVhsv(137, 67%, 52%)
CMYKcmyk(66.9%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.18, -41.03, 26.90)
CIE-LCHlch(49.18, 49.06, 146.75°)
OKLaboklab(54.8% -0.1107 0.0658)
OKLCHoklch(54.8% 0.129 149.3)
XYZxyz(10.4996, 17.7391, 8.4997)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8545 #852C6C
analogous
#40852C #2C8545 #2C8572
triadic
#2C8545 #452C85 #85452C
tetradic
#2C8545 #2C4085 #852C6C #85722C
square
#2C8545 #2C4085 #852C6C #85722C
split-complementary
#2C8545 #722C85 #852C40
monochromatic
#0E2915 #1D572D #2C8545 #3BB35D #61CB7E

Accessibility & contrast

On white

4.62
#2C8545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2C8545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8545
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8545#FFFFFF#000000##FFFFFF
##2C85451.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#0A8376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8545;
/* rgb */ color: rgb(44, 133, 69);
/* oklch */ color: oklch(54.8% 0.129 149.3);
Tailwind
colors: {
  custom: {
    50: '#70a97a',
    500: '#2c8545',
    950: '#000000',
  },
}
SCSS
$custom: #2c8545;
$custom-light: #70a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8545",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 136.854,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.12875,
    "h": 149.3
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#2C8545
secondary
#B15C99
accent
#4EB3DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8545

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

Preview Lab → · Contrast checker → · Palette generator →

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