#2C874D#2C874D

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

Color values

HEX#2C874D
RGBrgb(44, 135, 77)
HSLhsl(142, 51%, 35%)
HSVhsv(142, 67%, 53%)
CMYKcmyk(67.4%, 0%, 43%, 47.1%)
CIE-LABlab(49.98, -40.41, 23.55)
CIE-LCHlch(49.98, 46.77, 149.77°)
OKLaboklab(55.5% -0.1091 0.0583)
OKLCHoklch(55.5% 0.124 151.9)
XYZxyz(11.0413, 18.3981, 9.9890)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874D #872C66
analogous
#39872C #2C874D #2C877A
triadic
#2C874D #4D2C87 #874D2C
tetradic
#2C874D #2C3987 #872C66 #877A2C
square
#2C874D #2C3987 #872C66 #877A2C
split-complementary
#2C874D #7A2C87 #872C39
monochromatic
#0E2B18 #1D5933 #2C874D #3BB567 #62CC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C874D#FFFFFF#000000##000000
##2C874D1.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)
#877C49
Deuteranopia (green-blind)
#7C7451
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c874d;
/* rgb */ color: rgb(44, 135, 77);
/* oklch */ color: oklch(55.5% 0.124 151.9);
Tailwind
colors: {
  custom: {
    50: '#70ab7f',
    500: '#2c874d',
    950: '#000000',
  },
}
SCSS
$custom: #2c874d;
$custom-light: #70ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874d",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 77
  },
  "hsl": {
    "h": 141.758,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55497,
    "c": 0.12369,
    "h": 151.9
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#2C874D
secondary
#B25D93
accent
#4DA7DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874D

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

Preview Lab → · Contrast checker → · Palette generator →

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