#2C7D4D#2C7D4D

#2C7D4D is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.109 H 154.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7D4D
RGBrgb(44, 125, 77)
HSLhsl(144, 48%, 33%)
HSVhsv(144, 65%, 49%)
CMYKcmyk(64.8%, 0%, 38.4%, 51%)
CIE-LABlab(46.63, -36.20, 19.13)
CIE-LCHlch(46.63, 40.95, 152.14°)
OKLaboklab(52.74% -0.098 0.0479)
OKLCHoklch(52.74% 0.109 154)
XYZxyz(9.7111, 15.7375, 9.5456)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D4D #7D2C5C
analogous
#347D2C #2C7D4D #2C7D75
triadic
#2C7D4D #4D2C7D #7D4D2C
tetradic
#2C7D4D #2C347D #7D2C5C #7D752C
square
#2C7D4D #2C347D #7D2C5C #7D752C
split-complementary
#2C7D4D #752C7D #7D2C34
monochromatic
#0C2215 #1C5031 #2C7D4D #3CAA69 #5DC688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7D4D#FFFFFF#000000##FFFFFF
##2C7D4D1.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)
#7D734A
Deuteranopia (green-blind)
#726B50
Tritanopia (blue-blind)
#097C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d4d;
/* rgb */ color: rgb(44, 125, 77);
/* oklch */ color: oklch(52.7% 0.109 154.0);
Tailwind
colors: {
  custom: {
    50: '#6ea37f',
    500: '#2c7d4d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d4d;
$custom-light: #6ea37f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d4d",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 144.444,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.10911,
    "h": 154
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2C7D4D
secondary
#AC598A
accent
#50A0D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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