#2C7045#2C7045

#2C7045 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.098 H 153.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2C7045
RGBrgb(44, 112, 69)
HSLhsl(142, 44%, 31%)
HSVhsv(142, 61%, 44%)
CMYKcmyk(60.7%, 0%, 38.4%, 56.1%)
CIE-LABlab(42.08, -32.09, 17.67)
CIE-LCHlch(42.08, 36.63, 151.16°)
OKLaboklab(48.96% -0.087 0.0442)
OKLCHoklch(48.96% 0.098 153.1)
XYZxyz(7.9064, 12.5527, 7.6353)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7045 #702C57
analogous
#35702C #2C7045 #2C7067
triadic
#2C7045 #452C70 #70452C
tetradic
#2C7045 #2C3570 #702C57 #70672C
square
#2C7045 #2C3570 #702C57 #70672C
split-complementary
#2C7045 #672C70 #702C35
monochromatic
#09180F #1B442A #2C7045 #3D9C60 #59BE7E

Accessibility & contrast

On white

5.98
#2C7045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2C7045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7045
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7045#FFFFFF#000000##FFFFFF
##2C70451.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#176F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7045;
/* rgb */ color: rgb(44, 112, 69);
/* oklch */ color: oklch(49.0% 0.098 153.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a79',
    500: '#2c7045',
    950: '#000000',
  },
}
SCSS
$custom: #2c7045;
$custom-light: #6c9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7045",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 142.059,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.09761,
    "h": 153.1
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#2C7045
secondary
#A25686
accent
#54A5D3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2C7045

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

Preview Lab → · Contrast checker → · Palette generator →

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