#2C7845#2C7845

#2C7845 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.110 H 151.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2C7845
RGBrgb(44, 120, 69)
HSLhsl(140, 46%, 32%)
HSVhsv(140, 63%, 47%)
CMYKcmyk(63.3%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.80, -35.62, 21.26)
CIE-LCHlch(44.80, 41.48, 149.17°)
OKLaboklab(51.19% -0.0963 0.0527)
OKLCHoklch(51.19% 0.11 151.3)
XYZxyz(8.8287, 14.3972, 7.9427)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7845 #782C5F
analogous
#39782C #2C7845 #2C786B
triadic
#2C7845 #452C78 #78452C
tetradic
#2C7845 #2C3978 #782C5F #786B2C
square
#2C7845 #2C3978 #782C5F #786B2C
split-complementary
#2C7845 #6B2C78 #782C39
monochromatic
#0B1E12 #1C4B2B #2C7845 #3CA55F #5BC37D

Accessibility & contrast

On white

5.41
#2C7845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2C7845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7845
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7845#FFFFFF#000000##FFFFFF
##2C78451.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#13766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7845;
/* rgb */ color: rgb(44, 120, 69);
/* oklch */ color: oklch(51.2% 0.110 151.3);
Tailwind
colors: {
  custom: {
    50: '#6ea079',
    500: '#2c7845',
    950: '#000000',
  },
}
SCSS
$custom: #2c7845;
$custom-light: #6ea079;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7845",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 139.737,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.1098,
    "h": 151.3
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#2C7845
secondary
#A9578E
accent
#52ABD6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C7845

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

Preview Lab → · Contrast checker → · Palette generator →

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