#2C7012#2C7012

#2C7012 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.141 H 139.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2C7012
RGBrgb(44, 112, 18)
HSLhsl(103, 72%, 25%)
HSVhsv(103, 84%, 44%)
CMYKcmyk(60.7%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.48, -38.76, 41.85)
CIE-LCHlch(41.48, 57.04, 132.81°)
OKLaboklab(48.27% -0.1068 0.0928)
OKLCHoklch(48.27% 0.142 139)
XYZxyz(6.9418, 12.1669, 2.5548)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7012 #561270
analogous
#5B7012 #2C7012 #127027
triadic
#2C7012 #122C70 #70122C
tetradic
#2C7012 #125B70 #561270 #702712
square
#2C7012 #125B70 #561270 #702712
split-complementary
#2C7012 #271270 #70125B
monochromatic
#0A1A04 #173B0A #2C7012 #41A51A #55D923

Accessibility & contrast

On white

6.12
#2C7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7012
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7012#FFFFFF#000000##FFFFFF
##2C70121.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7012;
/* rgb */ color: rgb(44, 112, 18);
/* oklch */ color: oklch(48.3% 0.141 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a59',
    500: '#2c7012',
    950: '#000000',
  },
}
SCSS
$custom: #2c7012;
$custom-light: #6e9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7012",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 103.404,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.1415,
    "h": 139
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#2C7012
secondary
#8837A7
accent
#39EFBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7012

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

Preview Lab → · Contrast checker → · Palette generator →

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