#2C7F48#2C7F48

#2C7F48 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.117 H 151.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7F48
RGBrgb(44, 127, 72)
HSLhsl(140, 49%, 34%)
HSVhsv(140, 65%, 50%)
CMYKcmyk(65.4%, 0%, 43.3%, 50.2%)
CIE-LABlab(47.21, -38.03, 22.72)
CIE-LCHlch(47.21, 44.30, 149.14°)
OKLaboklab(53.19% -0.1027 0.0562)
OKLCHoklch(53.19% 0.117 151.3)
XYZxyz(9.7970, 16.1811, 8.7366)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F48 #7F2C63
analogous
#397F2C #2C7F48 #2C7F71
triadic
#2C7F48 #482C7F #7F482C
tetradic
#2C7F48 #2C397F #7F2C63 #7F712C
square
#2C7F48 #2C397F #7F2C63 #7F712C
split-complementary
#2C7F48 #712C7F #7F2C39
monochromatic
#0D2414 #1C522E #2C7F48 #3CAC62 #5EC782

Accessibility & contrast

On white

4.96
#2C7F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2C7F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F48
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F48#FFFFFF#000000##FFFFFF
##2C7F481.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7444
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#0C7D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7f48;
/* rgb */ color: rgb(44, 127, 72);
/* oklch */ color: oklch(53.2% 0.117 151.3);
Tailwind
colors: {
  custom: {
    50: '#6fa57b',
    500: '#2c7f48',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f48;
$custom-light: #6fa57b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f48",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 140.241,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.11711,
    "h": 151.3
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#2C7F48
secondary
#AD5991
accent
#50AAD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7F48

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

Preview Lab → · Contrast checker → · Palette generator →

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