#2C7F4E#2C7F4E

#2C7F4E is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.111 H 154.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C7F4E
RGBrgb(44, 127, 78)
HSLhsl(145, 49%, 34%)
HSVhsv(145, 65%, 50%)
CMYKcmyk(65.4%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.32, -36.86, 19.48)
CIE-LCHlch(47.32, 41.69, 152.14°)
OKLaboklab(53.32% -0.0998 0.0487)
OKLCHoklch(53.32% 0.111 154)
XYZxyz(10.0024, 16.2633, 9.8182)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F4E #7F2C5D
analogous
#337F2C #2C7F4E #2C7F77
triadic
#2C7F4E #4E2C7F #7F4E2C
tetradic
#2C7F4E #2C337F #7F2C5D #7F772C
square
#2C7F4E #2C337F #7F2C5D #7F772C
split-complementary
#2C7F4E #772C7F #7F2C33
monochromatic
#0D2416 #1C5232 #2C7F4E #3CAC6A #5EC789

Accessibility & contrast

On white

4.94
#2C7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2C7F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F4E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F4E#FFFFFF#000000##FFFFFF
##2C7F4E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#067D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7f4e;
/* rgb */ color: rgb(44, 127, 78);
/* oklch */ color: oklch(53.3% 0.111 154.0);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2c7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f4e;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f4e",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 144.578,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.11107,
    "h": 154
  },
  "luminance": 0.16264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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