#2C7841#2C7841

#2C7841 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.114 H 149.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2C7841
RGBrgb(44, 120, 65)
HSLhsl(137, 46%, 32%)
HSVhsv(137, 63%, 47%)
CMYKcmyk(63.3%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.73, -36.35, 23.42)
CIE-LCHlch(44.73, 43.24, 147.21°)
OKLaboklab(51.12% -0.0982 0.0576)
OKLCHoklch(51.12% 0.114 149.6)
XYZxyz(8.7087, 14.3492, 7.3107)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7841 #782C63
analogous
#3D782C #2C7841 #2C7867
triadic
#2C7841 #412C78 #78412C
tetradic
#2C7841 #2C3D78 #782C63 #78672C
square
#2C7841 #2C3D78 #782C63 #78672C
split-complementary
#2C7841 #672C78 #782C3D
monochromatic
#0B1E10 #1C4B29 #2C7841 #3CA559 #5BC378

Accessibility & contrast

On white

5.43
#2C7841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7841
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7841#FFFFFF#000000##FFFFFF
##2C78411.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#15766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7841;
/* rgb */ color: rgb(44, 120, 65);
/* oklch */ color: oklch(51.1% 0.114 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ea076',
    500: '#2c7841',
    950: '#000000',
  },
}
SCSS
$custom: #2c7841;
$custom-light: #6ea076;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7841",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 136.579,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.11389,
    "h": 149.6
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#2C7841
secondary
#A95792
accent
#52B1D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2C7841

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

Preview Lab → · Contrast checker → · Palette generator →

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