#2C712D#2C712D

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

Color values

HEX#2C712D
RGBrgb(44, 113, 45)
HSLhsl(121, 44%, 31%)
HSVhsv(121, 61%, 44%)
CMYKcmyk(61.1%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.05, -36.56, 30.89)
CIE-LCHlch(42.05, 47.86, 139.81°)
OKLaboklab(48.82% -0.0993 0.0731)
OKLCHoklch(48.82% 0.123 143.6)
XYZxyz(7.4171, 12.5345, 4.5107)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C712D #712C70
analogous
#4D712C #2C712D #2C714F
triadic
#2C712D #2D2C71 #712D2C
tetradic
#2C712D #2C4D71 #712C70 #714F2C
square
#2C712D #2C4D71 #712C70 #714F2C
split-complementary
#2C712D #4F2C71 #712C4D
monochromatic
#0A190A #1B451B #2C712D #3D9D3F #59BE5A

Accessibility & contrast

On white

5.99
#2C712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C712D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C712D#FFFFFF#000000##FFFFFF
##2C712D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#206E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c712d;
/* rgb */ color: rgb(44, 113, 45);
/* oklch */ color: oklch(48.8% 0.123 143.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a68',
    500: '#2c712d',
    950: '#000000',
  },
}
SCSS
$custom: #2c712d;
$custom-light: #6d9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c712d",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 120.87,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.12332,
    "h": 143.6
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#2C712D
secondary
#A356A2
accent
#54D2D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C712D

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

Preview Lab → · Contrast checker → · Palette generator →

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