#2C7130#2C7130

#2C7130 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.121 H 144.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2C7130
RGBrgb(44, 113, 48)
HSLhsl(123, 44%, 31%)
HSVhsv(123, 61%, 44%)
CMYKcmyk(61.1%, 0%, 57.5%, 55.7%)
CIE-LABlab(42.09, -36.15, 29.38)
CIE-LCHlch(42.09, 46.58, 140.90°)
OKLaboklab(48.86% -0.098 0.0701)
OKLCHoklch(48.86% 0.121 144.4)
XYZxyz(7.4769, 12.5584, 4.8257)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7130 #712C6D
analogous
#4A712C #2C7130 #2C7152
triadic
#2C7130 #302C71 #71302C
tetradic
#2C7130 #2C4A71 #712C6D #71522C
square
#2C7130 #2C4A71 #712C6D #71522C
split-complementary
#2C7130 #522C71 #712C4A
monochromatic
#0A190B #1B451D #2C7130 #3D9D43 #59BE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7130#FFFFFF#000000##FFFFFF
##2C71301.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)
#73672A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#1F6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7130;
/* rgb */ color: rgb(44, 113, 48);
/* oklch */ color: oklch(48.9% 0.121 144.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a6a',
    500: '#2c7130',
    950: '#000000',
  },
}
SCSS
$custom: #2c7130;
$custom-light: #6d9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7130",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 48
  },
  "hsl": {
    "h": 123.478,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.12052,
    "h": 144.4
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#2C7130
secondary
#A3569E
accent
#54CCD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C7130

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

Preview Lab → · Contrast checker → · Palette generator →

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