#2C7A4E#2C7A4E

#2C7A4E is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.104 H 155.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C7A4E
RGBrgb(44, 122, 78)
HSLhsl(146, 47%, 33%)
HSVhsv(146, 64%, 48%)
CMYKcmyk(63.9%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.64, -34.69, 17.23)
CIE-LCHlch(45.64, 38.73, 153.58°)
OKLaboklab(51.94% -0.0941 0.0433)
OKLCHoklch(51.94% 0.104 155.3)
XYZxyz(9.3726, 15.0037, 9.6083)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A4E #7A2C58
analogous
#317A2C #2C7A4E #2C7A75
triadic
#2C7A4E #4E2C7A #7A4E2C
tetradic
#2C7A4E #2C317A #7A2C58 #7A752C
square
#2C7A4E #2C317A #7A2C58 #7A752C
split-complementary
#2C7A4E #752C7A #7A2C31
monochromatic
#0C2014 #1C4D31 #2C7A4E #3CA76B #5CC48A

Accessibility & contrast

On white

5.25
#2C7A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C7A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A4E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A4E#FFFFFF#000000##FFFFFF
##2C7A4E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A704B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#0A796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7a4e;
/* rgb */ color: rgb(44, 122, 78);
/* oklch */ color: oklch(51.9% 0.104 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ea180',
    500: '#2c7a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a4e;
$custom-light: #6ea180;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a4e",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 146.154,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.10364,
    "h": 155.3
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#2C7A4E
secondary
#AA5786
accent
#519CD7
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2C7A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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