#2C7C45#2C7C45

#2C7C45 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.116 H 150.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C7C45
RGBrgb(44, 124, 69)
HSLhsl(139, 48%, 33%)
HSVhsv(139, 65%, 49%)
CMYKcmyk(64.5%, 0%, 44.4%, 51.4%)
CIE-LABlab(46.15, -37.32, 23.02)
CIE-LCHlch(46.15, 43.85, 148.34°)
OKLaboklab(52.31% -0.1008 0.0568)
OKLCHoklch(52.31% 0.116 150.6)
XYZxyz(9.3198, 15.3795, 8.1065)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C45 #7C2C63
analogous
#3B7C2C #2C7C45 #2C7C6D
triadic
#2C7C45 #452C7C #7C452C
tetradic
#2C7C45 #2C3B7C #7C2C63 #7C6D2C
square
#2C7C45 #2C3B7C #7C2C63 #7C6D2C
split-complementary
#2C7C45 #6D2C7C #7C2C3B
monochromatic
#0C2213 #1C4F2C #2C7C45 #3CA95E #5DC57E

Accessibility & contrast

On white

5.15
#2C7C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C45
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C45#FFFFFF#000000##FFFFFF
##2C7C451.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#117A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7c45;
/* rgb */ color: rgb(44, 124, 69);
/* oklch */ color: oklch(52.3% 0.116 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ea379',
    500: '#2c7c45',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c45;
$custom-light: #6ea379;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c45",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 138.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.11573,
    "h": 150.6
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#2C7C45
secondary
#AC5892
accent
#51ADD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7C45

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

Preview Lab → · Contrast checker → · Palette generator →

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