#2C7C4E#2C7C4E

#2C7C4E is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.107 H 154.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C7C4E
RGBrgb(44, 124, 78)
HSLhsl(146, 48%, 33%)
HSVhsv(146, 65%, 49%)
CMYKcmyk(64.5%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.31, -35.56, 18.14)
CIE-LCHlch(46.31, 39.92, 152.98°)
OKLaboklab(52.49% -0.0964 0.0455)
OKLCHoklch(52.49% 0.107 154.7)
XYZxyz(9.6207, 15.4999, 9.6910)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C4E #7C2C5A
analogous
#327C2C #2C7C4E #2C7C76
triadic
#2C7C4E #4E2C7C #7C4E2C
tetradic
#2C7C4E #2C327C #7C2C5A #7C762C
square
#2C7C4E #2C327C #7C2C5A #7C762C
split-complementary
#2C7C4E #762C7C #7C2C32
monochromatic
#0C2215 #1C4F32 #2C7C4E #3CA96A #5DC589

Accessibility & contrast

On white

5.12
#2C7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C4E#FFFFFF#000000##FFFFFF
##2C7C4E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#087B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7c4e;
/* rgb */ color: rgb(44, 124, 78);
/* oklch */ color: oklch(52.5% 0.107 154.7);
Tailwind
colors: {
  custom: {
    50: '#6ea280',
    500: '#2c7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c4e;
$custom-light: #6ea280;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c4e",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 145.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.10662,
    "h": 154.7
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#2C7C4E
secondary
#AC5888
accent
#519ED7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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