#2C7F46#2C7F46

#2C7F46 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.119 H 150.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7F46
RGBrgb(44, 127, 70)
HSLhsl(139, 49%, 34%)
HSVhsv(139, 65%, 50%)
CMYKcmyk(65.4%, 0%, 44.9%, 50.2%)
CIE-LABlab(47.18, -38.40, 23.79)
CIE-LCHlch(47.18, 45.17, 148.22°)
OKLaboklab(53.16% -0.1037 0.0587)
OKLCHoklch(53.16% 0.119 150.5)
XYZxyz(9.7328, 16.1554, 8.3986)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F46 #7F2C65
analogous
#3B7F2C #2C7F46 #2C7F6F
triadic
#2C7F46 #462C7F #7F462C
tetradic
#2C7F46 #2C3B7F #7F2C65 #7F6F2C
square
#2C7F46 #2C3B7F #7F2C65 #7F6F2C
split-complementary
#2C7F46 #6F2C7F #7F2C3B
monochromatic
#0D2414 #1C522D #2C7F46 #3CAC5F #5EC77F

Accessibility & contrast

On white

4.96
#2C7F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C7F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F46
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F46#FFFFFF#000000##FFFFFF
##2C7F461.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807442
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#0E7D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7f46;
/* rgb */ color: rgb(44, 127, 70);
/* oklch */ color: oklch(53.2% 0.119 150.5);
Tailwind
colors: {
  custom: {
    50: '#6fa57a',
    500: '#2c7f46',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f46;
$custom-light: #6fa57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f46",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 138.795,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.11912,
    "h": 150.5
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#2C7F46
secondary
#AD5993
accent
#50ADD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7F46

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

Preview Lab → · Contrast checker → · Palette generator →

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