#2C7E52#2C7E52

#2C7E52 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.106 H 156.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C7E52
RGBrgb(44, 126, 82)
HSLhsl(148, 48%, 33%)
HSVhsv(148, 65%, 49%)
CMYKcmyk(65.1%, 0%, 34.9%, 50.6%)
CIE-LABlab(47.06, -35.60, 16.85)
CIE-LCHlch(47.06, 39.39, 154.67°)
OKLaboklab(53.13% -0.0967 0.0425)
OKLCHoklch(53.13% 0.106 156.3)
XYZxyz(10.0217, 16.0654, 10.5538)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E52 #7E2C58
analogous
#2F7E2C #2C7E52 #2C7E7B
triadic
#2C7E52 #522C7E #7E522C
tetradic
#2C7E52 #2C2F7E #7E2C58 #7E7B2C
square
#2C7E52 #2C2F7E #7E2C58 #7E7B2C
split-complementary
#2C7E52 #7B2C7E #7E2C2F
monochromatic
#0C2317 #1C5134 #2C7E52 #3CAB70 #5EC78E

Accessibility & contrast

On white

4.98
#2C7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2C7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E52
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E52#FFFFFF#000000##FFFFFF
##2C7E521.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#027D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7e52;
/* rgb */ color: rgb(44, 126, 82);
/* oklch */ color: oklch(53.1% 0.106 156.3);
Tailwind
colors: {
  custom: {
    50: '#6fa483',
    500: '#2c7e52',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e52;
$custom-light: #6fa483;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e52",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 147.805,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.10561,
    "h": 156.3
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#2C7E52
secondary
#AD5986
accent
#5099D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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