#2C7D4F#2C7D4F

#2C7D4F is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.107 H 155.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7D4F
RGBrgb(44, 125, 79)
HSLhsl(146, 48%, 33%)
HSVhsv(146, 65%, 49%)
CMYKcmyk(64.8%, 0%, 36.8%, 51%)
CIE-LABlab(46.67, -35.79, 18.04)
CIE-LCHlch(46.67, 40.08, 153.25°)
OKLaboklab(52.79% -0.097 0.0453)
OKLCHoklch(52.79% 0.107 155)
XYZxyz(9.7828, 15.7662, 9.9233)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D4F #7D2C5A
analogous
#317D2C #2C7D4F #2C7D77
triadic
#2C7D4F #4F2C7D #7D4F2C
tetradic
#2C7D4F #2C317D #7D2C5A #7D772C
square
#2C7D4F #2C317D #7D2C5A #7D772C
split-complementary
#2C7D4F #772C7D #7D2C31
monochromatic
#0C2216 #1C5032 #2C7D4F #3CAA6C #5DC68B

Accessibility & contrast

On white

5.06
#2C7D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2C7D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D4F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D4F#FFFFFF#000000##FFFFFF
##2C7D4F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#067C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7d4f;
/* rgb */ color: rgb(44, 125, 79);
/* oklch */ color: oklch(52.8% 0.107 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2c7d4f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d4f;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d4f",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 145.926,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.1071,
    "h": 155
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#2C7D4F
secondary
#AC5988
accent
#509DD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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