#2C874A#2C874A

#2C874A is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.127 H 150.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C874A
RGBrgb(44, 135, 74)
HSLhsl(140, 51%, 35%)
HSVhsv(140, 67%, 53%)
CMYKcmyk(67.4%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.93, -40.96, 25.13)
CIE-LCHlch(49.93, 48.06, 148.47°)
OKLaboklab(55.44% -0.1105 0.0619)
OKLCHoklch(55.44% 0.127 150.7)
XYZxyz(10.9378, 18.3567, 9.4440)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874A #872C69
analogous
#3C872C #2C874A #2C8777
triadic
#2C874A #4A2C87 #874A2C
tetradic
#2C874A #2C3C87 #872C69 #87772C
square
#2C874A #2C3C87 #872C69 #87772C
split-complementary
#2C874A #772C87 #872C3C
monochromatic
#0E2B17 #1D5931 #2C874A #3BB563 #62CC85

Accessibility & contrast

On white

4.50
#2C874A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2C874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C874A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C874A#FFFFFF#000000##000000
##2C874A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#7C744E
Tritanopia (blue-blind)
#038578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c874a;
/* rgb */ color: rgb(44, 135, 74);
/* oklch */ color: oklch(55.4% 0.127 150.7);
Tailwind
colors: {
  custom: {
    50: '#71ab7d',
    500: '#2c874a',
    950: '#000000',
  },
}
SCSS
$custom: #2c874a;
$custom-light: #71ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874a",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 139.78,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.12666,
    "h": 150.7
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#2C874A
secondary
#B25D96
accent
#4DACDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874A

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

Preview Lab → · Contrast checker → · Palette generator →

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