#2C874F#2C874F

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

Color values

HEX#2C874F
RGBrgb(44, 135, 79)
HSLhsl(143, 51%, 35%)
HSVhsv(143, 67%, 53%)
CMYKcmyk(67.4%, 0%, 41.5%, 47.1%)
CIE-LABlab(50.01, -40.03, 22.48)
CIE-LCHlch(50.01, 45.91, 150.68°)
OKLaboklab(55.54% -0.1081 0.0559)
OKLCHoklch(55.54% 0.122 152.7)
XYZxyz(11.1130, 18.4268, 10.3667)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874F #872C64
analogous
#36872C #2C874F #2C877C
triadic
#2C874F #4F2C87 #874F2C
tetradic
#2C874F #2C3687 #872C64 #877C2C
square
#2C874F #2C3687 #872C64 #877C2C
split-complementary
#2C874F #7C2C87 #872C36
monochromatic
#0E2B19 #1D5934 #2C874F #3BB56A #62CC8A

Accessibility & contrast

On white

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

On black

4.69
#2C874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C874F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C874F#FFFFFF#000000##000000
##2C874F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c874f;
/* rgb */ color: rgb(44, 135, 79);
/* oklch */ color: oklch(55.5% 0.122 152.7);
Tailwind
colors: {
  custom: {
    50: '#70ab81',
    500: '#2c874f',
    950: '#000000',
  },
}
SCSS
$custom: #2c874f;
$custom-light: #70ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874f",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 143.077,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.1217,
    "h": 152.7
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#2C874F
secondary
#B25D91
accent
#4DA4DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874F

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

Preview Lab → · Contrast checker → · Palette generator →

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