#2C7112#2C7112

#2C7112 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.143 H 139.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2C7112
RGBrgb(44, 113, 18)
HSLhsl(104, 73%, 26%)
HSVhsv(104, 84%, 44%)
CMYKcmyk(61.1%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.83, -39.15, 42.17)
CIE-LCHlch(41.83, 57.54, 132.87°)
OKLaboklab(48.56% -0.1079 0.0935)
OKLCHoklch(48.56% 0.143 139.1)
XYZxyz(7.0527, 12.3888, 2.5918)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7112 #571271
analogous
#5B7112 #2C7112 #127127
triadic
#2C7112 #122C71 #71122C
tetradic
#2C7112 #125B71 #571271 #712712
square
#2C7112 #125B71 #571271 #712712
split-complementary
#2C7112 #271271 #71125B
monochromatic
#0A1A04 #173C0A #2C7112 #41A61A #55DB23

Accessibility & contrast

On white

6.04
#2C7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7112
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7112#FFFFFF#000000##FFFFFF
##2C71121.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#246D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7112;
/* rgb */ color: rgb(44, 113, 18);
/* oklch */ color: oklch(48.6% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9a59',
    500: '#2c7112',
    950: '#000000',
  },
}
SCSS
$custom: #2c7112;
$custom-light: #6f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7112",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 103.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.14274,
    "h": 139.1
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#2C7112
secondary
#8937A8
accent
#39EFBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7112

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

Preview Lab → · Contrast checker → · Palette generator →

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