#2C7D48#2C7D48

#2C7D48 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.114 H 151.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C7D48
RGBrgb(44, 125, 72)
HSLhsl(141, 48%, 33%)
HSVhsv(141, 65%, 49%)
CMYKcmyk(64.8%, 0%, 42.4%, 51%)
CIE-LABlab(46.54, -37.18, 21.84)
CIE-LCHlch(46.54, 43.12, 149.57°)
OKLaboklab(52.64% -0.1005 0.0542)
OKLCHoklch(52.64% 0.114 151.7)
XYZxyz(9.5413, 15.6696, 8.6514)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D48 #7D2C61
analogous
#387D2C #2C7D48 #2C7D70
triadic
#2C7D48 #482C7D #7D482C
tetradic
#2C7D48 #2C387D #7D2C61 #7D702C
square
#2C7D48 #2C387D #7D2C61 #7D702C
split-complementary
#2C7D48 #702C7D #7D2C38
monochromatic
#0C2214 #1C502E #2C7D48 #3CAA62 #5DC682

Accessibility & contrast

On white

5.08
#2C7D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D48
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D48#FFFFFF#000000##FFFFFF
##2C7D481.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7344
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#0E7B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d48;
/* rgb */ color: rgb(44, 125, 72);
/* oklch */ color: oklch(52.6% 0.114 151.7);
Tailwind
colors: {
  custom: {
    50: '#6fa37b',
    500: '#2c7d48',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d48;
$custom-light: #6fa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d48",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 140.741,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.11417,
    "h": 151.7
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#2C7D48
secondary
#AC598F
accent
#50A9D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7D48

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

Preview Lab → · Contrast checker → · Palette generator →

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