#2C874B#2C874B

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

Color values

HEX#2C874B
RGBrgb(44, 135, 75)
HSLhsl(140, 51%, 35%)
HSVhsv(140, 67%, 53%)
CMYKcmyk(67.4%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.94, -40.78, 24.61)
CIE-LCHlch(49.94, 47.63, 148.89°)
OKLaboklab(55.46% -0.11 0.0607)
OKLCHoklch(55.46% 0.126 151.1)
XYZxyz(10.9718, 18.3703, 9.6228)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C874B #872C68
analogous
#3A872C #2C874B #2C8779
triadic
#2C874B #4B2C87 #874B2C
tetradic
#2C874B #2C3A87 #872C68 #87792C
square
#2C874B #2C3A87 #872C68 #87792C
split-complementary
#2C874B #792C87 #872C3A
monochromatic
#0E2B18 #1D5931 #2C874B #3BB565 #62CC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C874B#FFFFFF#000000##000000
##2C874B1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C47
Deuteranopia (green-blind)
#7C744F
Tritanopia (blue-blind)
#018578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c874b;
/* rgb */ color: rgb(44, 135, 75);
/* oklch */ color: oklch(55.5% 0.126 151.1);
Tailwind
colors: {
  custom: {
    50: '#71ab7e',
    500: '#2c874b',
    950: '#000000',
  },
}
SCSS
$custom: #2c874b;
$custom-light: #71ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c874b",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 140.44,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.12567,
    "h": 151.1
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#2C874B
secondary
#B25D95
accent
#4DAADA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C874B

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

Preview Lab → · Contrast checker → · Palette generator →

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