#2C7141#2C7141

#2C7141 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.103 H 150.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2C7141
RGBrgb(44, 113, 65)
HSLhsl(138, 44%, 31%)
HSVhsv(138, 61%, 44%)
CMYKcmyk(61.1%, 0%, 42.5%, 55.7%)
CIE-LABlab(42.35, -33.32, 20.33)
CIE-LCHlch(42.35, 39.03, 148.61°)
OKLaboklab(49.16% -0.0902 0.0504)
OKLCHoklch(49.16% 0.103 150.8)
XYZxyz(7.8974, 12.7266, 7.0403)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7141 #712C5C
analogous
#39712C #2C7141 #2C7163
triadic
#2C7141 #412C71 #71412C
tetradic
#2C7141 #2C3971 #712C5C #71632C
square
#2C7141 #2C3971 #712C5C #71632C
split-complementary
#2C7141 #632C71 #712C39
monochromatic
#0A190E #1B4528 #2C7141 #3D9D5A #59BE78

Accessibility & contrast

On white

5.92
#2C7141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2C7141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7141
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7141#FFFFFF#000000##FFFFFF
##2C71411.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#196F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7141;
/* rgb */ color: rgb(44, 113, 65);
/* oklch */ color: oklch(49.2% 0.103 150.8);
Tailwind
colors: {
  custom: {
    50: '#6c9a76',
    500: '#2c7141',
    950: '#000000',
  },
}
SCSS
$custom: #2c7141;
$custom-light: #6c9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7141",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 65
  },
  "hsl": {
    "h": 138.261,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.10332,
    "h": 150.8
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#2C7141
secondary
#A3568B
accent
#54ADD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2C7141

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

Preview Lab → · Contrast checker → · Palette generator →

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