#2C7F52#2C7F52

#2C7F52 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.107 H 156.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C7F52
RGBrgb(44, 127, 82)
HSLhsl(147, 49%, 34%)
HSVhsv(147, 65%, 50%)
CMYKcmyk(65.4%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.39, -36.03, 17.31)
CIE-LCHlch(47.39, 39.97, 154.35°)
OKLaboklab(53.41% -0.0978 0.0436)
OKLCHoklch(53.41% 0.107 156)
XYZxyz(10.1502, 16.3224, 10.5966)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F52 #7F2C59
analogous
#2F7F2C #2C7F52 #2C7F7B
triadic
#2C7F52 #522C7F #7F522C
tetradic
#2C7F52 #2C2F7F #7F2C59 #7F7B2C
square
#2C7F52 #2C2F7F #7F2C59 #7F7B2C
split-complementary
#2C7F52 #7B2C7F #7F2C2F
monochromatic
#0D2417 #1C5235 #2C7F52 #3CAC6F #5EC78E

Accessibility & contrast

On white

4.92
#2C7F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2C7F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F52
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F52#FFFFFF#000000##FFFFFF
##2C7F521.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#017E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7f52;
/* rgb */ color: rgb(44, 127, 82);
/* oklch */ color: oklch(53.4% 0.107 156.0);
Tailwind
colors: {
  custom: {
    50: '#6fa583',
    500: '#2c7f52',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f52;
$custom-light: #6fa583;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f52",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 147.47,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.10708,
    "h": 156
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#2C7F52
secondary
#AD5987
accent
#509AD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7F52

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

Preview Lab → · Contrast checker → · Palette generator →

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