#2C7D45#2C7D45

#2C7D45 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.6% C 0.117 H 150.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2C7D45
RGBrgb(44, 125, 69)
HSLhsl(139, 48%, 33%)
HSVhsv(139, 65%, 49%)
CMYKcmyk(64.8%, 0%, 44.8%, 51%)
CIE-LABlab(46.49, -37.74, 23.45)
CIE-LCHlch(46.49, 44.44, 148.14°)
OKLaboklab(52.58% -0.1019 0.0578)
OKLCHoklch(52.58% 0.117 150.4)
XYZxyz(9.4458, 15.6314, 8.1484)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D45 #7D2C64
analogous
#3B7D2C #2C7D45 #2C7D6D
triadic
#2C7D45 #452C7D #7D452C
tetradic
#2C7D45 #2C3B7D #7D2C64 #7D6D2C
square
#2C7D45 #2C3B7D #7D2C64 #7D6D2C
split-complementary
#2C7D45 #6D2C7D #7D2C3B
monochromatic
#0C2213 #1C502C #2C7D45 #3CAA5E #5DC67E

Accessibility & contrast

On white

5.09
#2C7D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D45
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D45#FFFFFF#000000##FFFFFF
##2C7D451.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#107B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d45;
/* rgb */ color: rgb(44, 125, 69);
/* oklch */ color: oklch(52.6% 0.117 150.4);
Tailwind
colors: {
  custom: {
    50: '#6fa379',
    500: '#2c7d45',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d45;
$custom-light: #6fa379;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d45",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 138.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.11721,
    "h": 150.4
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#2C7D45
secondary
#AC5992
accent
#50AED8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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