#2C8847#2C8847

#2C8847 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.131 H 149.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2C8847
RGBrgb(44, 136, 71)
HSLhsl(138, 51%, 35%)
HSVhsv(138, 68%, 53%)
CMYKcmyk(67.6%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.21, -41.89, 27.13)
CIE-LCHlch(50.21, 49.91, 147.07°)
OKLaboklab(55.66% -0.113 0.0664)
OKLCHoklch(55.66% 0.131 149.6)
XYZxyz(10.9794, 18.5976, 8.9711)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8847 #882C6D
analogous
#3F882C #2C8847 #2C8875
triadic
#2C8847 #472C88 #88472C
tetradic
#2C8847 #2C3F88 #882C6D #88752C
square
#2C8847 #2C3F88 #882C6D #88752C
split-complementary
#2C8847 #752C88 #882C3F
monochromatic
#0E2C17 #1D5A2F #2C8847 #3BB65F #62CC81

Accessibility & contrast

On white

4.45
#2C8847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2C8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8847
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8847#FFFFFF#000000##000000
##2C88471.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#058678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8847;
/* rgb */ color: rgb(44, 136, 71);
/* oklch */ color: oklch(55.7% 0.131 149.6);
Tailwind
colors: {
  custom: {
    50: '#71ab7b',
    500: '#2c8847',
    950: '#000000',
  },
}
SCSS
$custom: #2c8847;
$custom-light: #71ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8847",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 137.609,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.13103,
    "h": 149.6
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#2C8847
secondary
#B35D99
accent
#4DB1DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8847

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

Preview Lab → · Contrast checker → · Palette generator →

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