#2C7D52#2C7D52

#2C7D52 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.9% C 0.104 H 156.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C7D52
RGBrgb(44, 125, 82)
HSLhsl(148, 48%, 33%)
HSVhsv(148, 65%, 49%)
CMYKcmyk(64.8%, 0%, 34.4%, 51%)
CIE-LABlab(46.73, -35.16, 16.40)
CIE-LCHlch(46.73, 38.80, 154.99°)
OKLaboklab(52.86% -0.0955 0.0414)
OKLCHoklch(52.86% 0.104 156.6)
XYZxyz(9.8944, 15.8109, 10.5114)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D52 #7D2C57
analogous
#2E7D2C #2C7D52 #2C7D7A
triadic
#2C7D52 #522C7D #7D522C
tetradic
#2C7D52 #2C2E7D #7D2C57 #7D7A2C
square
#2C7D52 #2C2E7D #7D2C57 #7D7A2C
split-complementary
#2C7D52 #7A2C7D #7D2C2E
monochromatic
#0C2217 #1C5034 #2C7D52 #3CAA70 #5DC68E

Accessibility & contrast

On white

5.05
#2C7D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2C7D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D52
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D52#FFFFFF#000000##FFFFFF
##2C7D521.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#037C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7d52;
/* rgb */ color: rgb(44, 125, 82);
/* oklch */ color: oklch(52.9% 0.104 156.6);
Tailwind
colors: {
  custom: {
    50: '#6ea383',
    500: '#2c7d52',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d52;
$custom-light: #6ea383;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d52",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 148.148,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.10412,
    "h": 156.6
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#2C7D52
secondary
#AC5985
accent
#5098D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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