#2C7140#2C7140

#2C7140 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.104 H 150.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2C7140
RGBrgb(44, 113, 64)
HSLhsl(137, 44%, 31%)
HSVhsv(137, 61%, 44%)
CMYKcmyk(61.1%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.33, -33.51, 20.88)
CIE-LCHlch(42.33, 39.48, 148.08°)
OKLaboklab(49.14% -0.0907 0.0517)
OKLCHoklch(49.14% 0.104 150.3)
XYZxyz(7.8687, 12.7152, 6.8891)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7140 #712C5D
analogous
#3A712C #2C7140 #2C7162
triadic
#2C7140 #402C71 #71402C
tetradic
#2C7140 #2C3A71 #712C5D #71622C
square
#2C7140 #2C3A71 #712C5D #71622C
split-complementary
#2C7140 #622C71 #712C3A
monochromatic
#0A190E #1B4527 #2C7140 #3D9D59 #59BE76

Accessibility & contrast

On white

5.93
#2C7140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2C7140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7140
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7140#FFFFFF#000000##FFFFFF
##2C71401.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7140;
/* rgb */ color: rgb(44, 113, 64);
/* oklch */ color: oklch(49.1% 0.104 150.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a75',
    500: '#2c7140',
    950: '#000000',
  },
}
SCSS
$custom: #2c7140;
$custom-light: #6c9a75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7140",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 137.391,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.10436,
    "h": 150.3
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#2C7140
secondary
#A3568C
accent
#54AFD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2C7140

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

Preview Lab → · Contrast checker → · Palette generator →

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