#2C712A#2C712A

#2C712A is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.126 H 142.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2C712A
RGBrgb(44, 113, 42)
HSLhsl(118, 46%, 30%)
HSVhsv(118, 63%, 44%)
CMYKcmyk(61.1%, 0%, 62.8%, 55.7%)
CIE-LABlab(42.02, -36.95, 32.36)
CIE-LCHlch(42.02, 49.12, 138.79°)
OKLaboklab(48.78% -0.1005 0.076)
OKLCHoklch(48.78% 0.126 142.9)
XYZxyz(7.3614, 12.5122, 4.2172)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C712A #6F2A71
analogous
#4F712A #2C712A #2A714B
triadic
#2C712A #2A2C71 #712A2C
tetradic
#2C712A #2A4F71 #6F2A71 #714B2A
square
#2C712A #2A4F71 #6F2A71 #714B2A
split-complementary
#2C712A #4B2A71 #712A4F
monochromatic
#091809 #1B4419 #2C712A #3D9E3B #58C055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C712A#FFFFFF#000000##FFFFFF
##2C712A1.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)
#736722
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#206E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c712a;
/* rgb */ color: rgb(44, 113, 42);
/* oklch */ color: oklch(48.8% 0.126 142.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a66',
    500: '#2c712a',
    950: '#000000',
  },
}
SCSS
$custom: #2c712a;
$custom-light: #6d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c712a",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 118.31,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.12603,
    "h": 142.9
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#2C712A
secondary
#A154A3
accent
#52D5D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C712A

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

Preview Lab → · Contrast checker → · Palette generator →

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