#2C8745#2C8745

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

Color values

HEX#2C8745
RGBrgb(44, 135, 69)
HSLhsl(136, 51%, 35%)
HSVhsv(136, 67%, 53%)
CMYKcmyk(67.4%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.85, -41.83, 27.75)
CIE-LCHlch(49.85, 50.20, 146.44°)
OKLaboklab(55.35% -0.1128 0.0677)
OKLCHoklch(55.35% 0.132 149)
XYZxyz(10.7760, 18.2920, 8.5919)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8745 #872C6E
analogous
#40872C #2C8745 #2C8773
triadic
#2C8745 #452C87 #87452C
tetradic
#2C8745 #2C4087 #872C6E #87732C
square
#2C8745 #2C4087 #872C6E #87732C
split-complementary
#2C8745 #732C87 #872C40
monochromatic
#0E2B16 #1D592D #2C8745 #3BB55D #62CC7F

Accessibility & contrast

On white

4.51
#2C8745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2C8745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8745
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8745#FFFFFF#000000##000000
##2C87451.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#088477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8745;
/* rgb */ color: rgb(44, 135, 69);
/* oklch */ color: oklch(55.4% 0.132 149.0);
Tailwind
colors: {
  custom: {
    50: '#71ab7a',
    500: '#2c8745',
    950: '#000000',
  },
}
SCSS
$custom: #2c8745;
$custom-light: #71ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8745",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 136.484,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.13157,
    "h": 149
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#2C8745
secondary
#B25D9B
accent
#4DB4DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8745

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

Preview Lab → · Contrast checker → · Palette generator →

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