#2C7F2E#2C7F2E

#2C7F2E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.142 H 143.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2C7F2E
RGBrgb(44, 127, 46)
HSLhsl(121, 49%, 34%)
HSVhsv(121, 65%, 50%)
CMYKcmyk(65.4%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.86, -42.02, 35.93)
CIE-LCHlch(46.86, 55.29, 139.47°)
OKLaboklab(52.79% -0.114 0.0841)
OKLCHoklch(52.79% 0.142 143.6)
XYZxyz(9.1207, 15.9106, 5.1746)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F2E #7F2C7D
analogous
#537F2C #2C7F2E #2C7F57
triadic
#2C7F2E #2E2C7F #7F2E2C
tetradic
#2C7F2E #2C537F #7F2C7D #7F572C
square
#2C7F2E #2C537F #7F2C7D #7F572C
split-complementary
#2C7F2E #572C7F #7F2C53
monochromatic
#0D240D #1C521E #2C7F2E #3CAC3E #5EC761

Accessibility & contrast

On white

5.02
#2C7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2C7F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F2E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F2E#FFFFFF#000000##FFFFFF
##2C7F2E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#1A7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f2e;
/* rgb */ color: rgb(44, 127, 46);
/* oklch */ color: oklch(52.8% 0.142 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a56a',
    500: '#2c7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f2e;
$custom-light: #70a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f2e",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 121.446,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.14168,
    "h": 143.6
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#2C7F2E
secondary
#AD59AB
accent
#50D5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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