#2C7D42#2C7D42

#2C7D42 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.120 H 149.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C7D42
RGBrgb(44, 125, 66)
HSLhsl(136, 48%, 33%)
HSVhsv(136, 65%, 49%)
CMYKcmyk(64.8%, 0%, 47.2%, 51%)
CIE-LABlab(46.44, -38.28, 25.05)
CIE-LCHlch(46.44, 45.75, 146.80°)
OKLaboklab(52.53% -0.1034 0.0614)
OKLCHoklch(52.53% 0.12 149.3)
XYZxyz(9.3550, 15.5951, 7.6704)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D42 #7D2C67
analogous
#3E7D2C #2C7D42 #2C7D6A
triadic
#2C7D42 #422C7D #7D422C
tetradic
#2C7D42 #2C3E7D #7D2C67 #7D6A2C
square
#2C7D42 #2C3E7D #7D2C67 #7D6A2C
split-complementary
#2C7D42 #6A2C7D #7D2C3E
monochromatic
#0C2212 #1C502A #2C7D42 #3CAA5A #5DC67A

Accessibility & contrast

On white

5.10
#2C7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2C7D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D42
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D42#FFFFFF#000000##FFFFFF
##2C7D421.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723D
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#127B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d42;
/* rgb */ color: rgb(44, 125, 66);
/* oklch */ color: oklch(52.5% 0.120 149.3);
Tailwind
colors: {
  custom: {
    50: '#6fa377',
    500: '#2c7d42',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d42;
$custom-light: #6fa377;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d42",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 136.296,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.12023,
    "h": 149.3
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#2C7D42
secondary
#AC5995
accent
#50B3D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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