#2C8741#2C8741

#2C8741 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.135 H 147.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C8741
RGBrgb(44, 135, 65)
HSLhsl(134, 51%, 35%)
HSVhsv(134, 67%, 53%)
CMYKcmyk(67.4%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.79, -42.49, 29.81)
CIE-LCHlch(49.79, 51.90, 144.95°)
OKLaboklab(55.29% -0.1146 0.0721)
OKLCHoklch(55.29% 0.135 147.8)
XYZxyz(10.6560, 18.2440, 7.9599)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8741 #872C72
analogous
#45872C #2C8741 #2C876E
triadic
#2C8741 #412C87 #87412C
tetradic
#2C8741 #2C4587 #872C72 #876E2C
square
#2C8741 #2C4587 #872C72 #876E2C
split-complementary
#2C8741 #6E2C87 #872C45
monochromatic
#0E2B15 #1D592B #2C8741 #3BB557 #62CC7A

Accessibility & contrast

On white

4.52
#2C8741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2C8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8741
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8741#FFFFFF#000000##000000
##2C87411.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#0C8477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8741;
/* rgb */ color: rgb(44, 135, 65);
/* oklch */ color: oklch(55.3% 0.135 147.8);
Tailwind
colors: {
  custom: {
    50: '#71ab77',
    500: '#2c8741',
    950: '#000000',
  },
}
SCSS
$custom: #2c8741;
$custom-light: #71ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8741",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 133.846,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.13543,
    "h": 147.8
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#2C8741
secondary
#B25D9E
accent
#4DBADA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8741

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

Preview Lab → · Contrast checker → · Palette generator →

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