#2C7E47#2C7E47

#2C7E47 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.117 H 151.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2C7E47
RGBrgb(44, 126, 71)
HSLhsl(140, 48%, 33%)
HSVhsv(140, 65%, 49%)
CMYKcmyk(65.1%, 0%, 43.7%, 50.6%)
CIE-LABlab(46.86, -37.79, 22.82)
CIE-LCHlch(46.86, 44.15, 148.88°)
OKLaboklab(52.9% -0.1021 0.0564)
OKLCHoklch(52.9% 0.117 151.1)
XYZxyz(9.6361, 15.9111, 8.5233)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E47 #7E2C63
analogous
#3A7E2C #2C7E47 #2C7E70
triadic
#2C7E47 #472C7E #7E472C
tetradic
#2C7E47 #2C3A7E #7E2C63 #7E702C
square
#2C7E47 #2C3A7E #7E2C63 #7E702C
split-complementary
#2C7E47 #702C7E #7E2C3A
monochromatic
#0C2314 #1C512D #2C7E47 #3CAB61 #5EC780

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7E47#FFFFFF#000000##FFFFFF
##2C7E471.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)
#7F7443
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#0E7C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7e47;
/* rgb */ color: rgb(44, 126, 71);
/* oklch */ color: oklch(52.9% 0.117 151.1);
Tailwind
colors: {
  custom: {
    50: '#6fa47b',
    500: '#2c7e47',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e47;
$custom-light: #6fa47b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e47",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 71
  },
  "hsl": {
    "h": 139.756,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.11665,
    "h": 151.1
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#2C7E47
secondary
#AD5991
accent
#50ABD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7E47

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

Preview Lab → · Contrast checker → · Palette generator →

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