#2C874E#2C874E

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

Color values

HEX#2C874E
RGBrgb(44, 135, 78)
HSLhsl(142, 51%, 35%)
HSVhsv(142, 67%, 53%)
CMYKcmyk(67.4%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.99, -40.22, 23.02)
CIE-LCHlch(49.99, 46.34, 150.22°)
OKLaboklab(55.52% -0.1086 0.0571)
OKLCHoklch(55.52% 0.123 152.3)
XYZxyz(11.0769, 18.4123, 10.1764)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874E #872C65
analogous
#37872C #2C874E #2C877C
triadic
#2C874E #4E2C87 #874E2C
tetradic
#2C874E #2C3787 #872C65 #877C2C
square
#2C874E #2C3787 #872C65 #877C2C
split-complementary
#2C874E #7C2C87 #872C37
monochromatic
#0E2B19 #1D5933 #2C874E #3BB569 #62CC89

Accessibility & contrast

On white

4.48
#2C874E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C874E#FFFFFF#000000##000000
##2C874E1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c874e;
/* rgb */ color: rgb(44, 135, 78);
/* oklch */ color: oklch(55.5% 0.123 152.3);
Tailwind
colors: {
  custom: {
    50: '#70ab80',
    500: '#2c874e',
    950: '#000000',
  },
}
SCSS
$custom: #2c874e;
$custom-light: #70ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874e",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 142.418,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.1227,
    "h": 152.3
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#2C874E
secondary
#B25D92
accent
#4DA6DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874E

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

Preview Lab → · Contrast checker → · Palette generator →

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