#2C7846#2C7846

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

Color values

HEX#2C7846
RGBrgb(44, 120, 70)
HSLhsl(141, 46%, 32%)
HSVhsv(141, 63%, 47%)
CMYKcmyk(63.3%, 0%, 41.7%, 52.9%)
CIE-LABlab(44.81, -35.42, 20.71)
CIE-LCHlch(44.81, 41.03, 149.69°)
OKLaboklab(51.21% -0.0958 0.0515)
OKLCHoklch(51.21% 0.109 151.8)
XYZxyz(8.8600, 14.4097, 8.1076)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7846 #782C5E
analogous
#38782C #2C7846 #2C786C
triadic
#2C7846 #462C78 #78462C
tetradic
#2C7846 #2C3878 #782C5E #786C2C
square
#2C7846 #2C3878 #782C5E #786C2C
split-complementary
#2C7846 #6C2C78 #782C38
monochromatic
#0B1E12 #1C4B2C #2C7846 #3CA560 #5BC37F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7846#FFFFFF#000000##FFFFFF
##2C78461.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)
#786E42
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#12766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7846;
/* rgb */ color: rgb(44, 120, 70);
/* oklch */ color: oklch(51.2% 0.109 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ea07a',
    500: '#2c7846',
    950: '#000000',
  },
}
SCSS
$custom: #2c7846;
$custom-light: #6ea07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7846",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 140.526,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.10877,
    "h": 151.8
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#2C7846
secondary
#A9578D
accent
#52A9D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C7846

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

Preview Lab → · Contrast checker → · Palette generator →

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