#2C874C#2C874C

#2C874C is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.125 H 151.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C874C
RGBrgb(44, 135, 76)
HSLhsl(141, 51%, 35%)
HSVhsv(141, 67%, 53%)
CMYKcmyk(67.4%, 0%, 43.7%, 47.1%)
CIE-LABlab(49.96, -40.60, 24.08)
CIE-LCHlch(49.96, 47.20, 149.33°)
OKLaboklab(55.48% -0.1096 0.0595)
OKLCHoklch(55.48% 0.125 151.5)
XYZxyz(11.0063, 18.3841, 9.8045)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874C #872C67
analogous
#39872C #2C874C #2C877A
triadic
#2C874C #4C2C87 #874C2C
tetradic
#2C874C #2C3987 #872C67 #877A2C
square
#2C874C #2C3987 #872C67 #877A2C
split-complementary
#2C874C #7A2C87 #872C39
monochromatic
#0E2B18 #1D5932 #2C874C #3BB566 #62CC87

Accessibility & contrast

On white

4.49
#2C874C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C874C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C874C#FFFFFF#000000##000000
##2C874C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C48
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c874c;
/* rgb */ color: rgb(44, 135, 76);
/* oklch */ color: oklch(55.5% 0.125 151.5);
Tailwind
colors: {
  custom: {
    50: '#71ab7f',
    500: '#2c874c',
    950: '#000000',
  },
}
SCSS
$custom: #2c874c;
$custom-light: #71ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874c",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 141.099,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.12468,
    "h": 151.5
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#2C874C
secondary
#B25D94
accent
#4DA9DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874C

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

Preview Lab → · Contrast checker → · Palette generator →

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