#2C8757#2C8757

#2C8757 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.7% C 0.114 H 156.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C8757
RGBrgb(44, 135, 87)
HSLhsl(148, 51%, 35%)
HSVhsv(148, 67%, 53%)
CMYKcmyk(67.4%, 0%, 35.6%, 47.1%)
CIE-LABlab(50.16, -38.42, 18.19)
CIE-LCHlch(50.16, 42.51, 154.66°)
OKLaboklab(55.71% -0.1042 0.0458)
OKLCHoklch(55.71% 0.114 156.3)
XYZxyz(11.4219, 18.5503, 11.9936)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8757 #872C5C
analogous
#2E872C #2C8757 #2C8785
triadic
#2C8757 #572C87 #87572C
tetradic
#2C8757 #2C2E87 #872C5C #87852C
square
#2C8757 #2C2E87 #872C5C #87852C
split-complementary
#2C8757 #852C87 #872C2E
monochromatic
#0E2B1C #1D5939 #2C8757 #3BB575 #62CC94

Accessibility & contrast

On white

4.46
#2C8757 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2C8757 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8757
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8757#FFFFFF#000000##000000
##2C87571.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C54
Deuteranopia (green-blind)
#7A745A
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8757;
/* rgb */ color: rgb(44, 135, 87);
/* oklch */ color: oklch(55.7% 0.114 156.3);
Tailwind
colors: {
  custom: {
    50: '#70ab86',
    500: '#2c8757',
    950: '#000000',
  },
}
SCSS
$custom: #2c8757;
$custom-light: #70ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8757",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 87
  },
  "hsl": {
    "h": 148.352,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.11383,
    "h": 156.3
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#2C8757
secondary
#B25D8A
accent
#4D98DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2C8757

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

Preview Lab → · Contrast checker → · Palette generator →

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