#2C7843#2C7843

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

Color values

HEX#2C7843
RGBrgb(44, 120, 67)
HSLhsl(138, 46%, 32%)
HSVhsv(138, 63%, 47%)
CMYKcmyk(63.3%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.76, -35.99, 22.34)
CIE-LCHlch(44.76, 42.36, 148.17°)
OKLaboklab(51.15% -0.0973 0.0552)
OKLCHoklch(51.15% 0.112 150.4)
XYZxyz(8.7676, 14.3728, 7.6213)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7843 #782C61
analogous
#3B782C #2C7843 #2C7869
triadic
#2C7843 #432C78 #78432C
tetradic
#2C7843 #2C3B78 #782C61 #78692C
square
#2C7843 #2C3B78 #782C61 #78692C
split-complementary
#2C7843 #692C78 #782C3B
monochromatic
#0B1E11 #1C4B2A #2C7843 #3CA55C #5BC37B

Accessibility & contrast

On white

5.42
#2C7843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2C7843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7843
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7843#FFFFFF#000000##FFFFFF
##2C78431.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3F
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#14766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7843;
/* rgb */ color: rgb(44, 120, 67);
/* oklch */ color: oklch(51.2% 0.112 150.4);
Tailwind
colors: {
  custom: {
    50: '#6ea078',
    500: '#2c7843',
    950: '#000000',
  },
}
SCSS
$custom: #2c7843;
$custom-light: #6ea078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7843",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 138.158,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.11185,
    "h": 150.4
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#2C7843
secondary
#A95790
accent
#52AED6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C7843

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

Preview Lab → · Contrast checker → · Palette generator →

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