#2C7A43#2C7A43

#2C7A43 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.115 H 150.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2C7A43
RGBrgb(44, 122, 67)
HSLhsl(138, 47%, 33%)
HSVhsv(138, 64%, 48%)
CMYKcmyk(63.9%, 0%, 45.1%, 52.2%)
CIE-LABlab(45.44, -36.84, 23.22)
CIE-LCHlch(45.44, 43.55, 147.78°)
OKLaboklab(51.71% -0.0995 0.0572)
OKLCHoklch(51.71% 0.115 150.1)
XYZxyz(9.0107, 14.8589, 7.7023)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A43 #7A2C63
analogous
#3C7A2C #2C7A43 #2C7A6A
triadic
#2C7A43 #432C7A #7A432C
tetradic
#2C7A43 #2C3C7A #7A2C63 #7A6A2C
square
#2C7A43 #2C3C7A #7A2C63 #7A6A2C
split-complementary
#2C7A43 #6A2C7A #7A2C3C
monochromatic
#0C2012 #1C4D2A #2C7A43 #3CA75C #5CC47B

Accessibility & contrast

On white

5.29
#2C7A43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2C7A43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A43
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A43#FFFFFF#000000##FFFFFF
##2C7A431.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703F
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#13786D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7a43;
/* rgb */ color: rgb(44, 122, 67);
/* oklch */ color: oklch(51.7% 0.115 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ea178',
    500: '#2c7a43',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a43;
$custom-light: #6ea178;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a43",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 67
  },
  "hsl": {
    "h": 137.692,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.11481,
    "h": 150.1
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#2C7A43
secondary
#AA5792
accent
#51AFD7
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7A43

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

Preview Lab → · Contrast checker → · Palette generator →

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