#2C7041#2C7041

#2C7041 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.102 H 151.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2C7041
RGBrgb(44, 112, 65)
HSLhsl(139, 44%, 31%)
HSVhsv(139, 61%, 44%)
CMYKcmyk(60.7%, 0%, 42%, 56.1%)
CIE-LABlab(42.01, -32.88, 19.88)
CIE-LCHlch(42.01, 38.42, 148.84°)
OKLaboklab(48.88% -0.089 0.0494)
OKLCHoklch(48.88% 0.102 151)
XYZxyz(7.7864, 12.5047, 7.0033)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7041 #702C5B
analogous
#39702C #2C7041 #2C7063
triadic
#2C7041 #412C70 #70412C
tetradic
#2C7041 #2C3970 #702C5B #70632C
square
#2C7041 #2C3970 #702C5B #70632C
split-complementary
#2C7041 #632C70 #702C39
monochromatic
#09180E #1B4427 #2C7041 #3D9C5A #59BE78

Accessibility & contrast

On white

6.00
#2C7041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2C7041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7041
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7041#FFFFFF#000000##FFFFFF
##2C70411.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673E
Deuteranopia (green-blind)
#676144
Tritanopia (blue-blind)
#196E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7041;
/* rgb */ color: rgb(44, 112, 65);
/* oklch */ color: oklch(48.9% 0.102 151.0);
Tailwind
colors: {
  custom: {
    50: '#6c9a76',
    500: '#2c7041',
    950: '#000000',
  },
}
SCSS
$custom: #2c7041;
$custom-light: #6c9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7041",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 65
  },
  "hsl": {
    "h": 138.529,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.10178,
    "h": 151
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#2C7041
secondary
#A2568A
accent
#54ACD3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2C7041

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

Preview Lab → · Contrast checker → · Palette generator →

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