#2C712F#2C712F

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

Color values

HEX#2C712F
RGBrgb(44, 113, 47)
HSLhsl(123, 44%, 31%)
HSVhsv(123, 61%, 44%)
CMYKcmyk(61.1%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.08, -36.29, 29.89)
CIE-LCHlch(42.08, 47.01, 140.53°)
OKLaboklab(48.85% -0.0985 0.0711)
OKLCHoklch(48.85% 0.121 144.2)
XYZxyz(7.4565, 12.5503, 4.7183)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C712F #712C6E
analogous
#4B712C #2C712F #2C7151
triadic
#2C712F #2F2C71 #712F2C
tetradic
#2C712F #2C4B71 #712C6E #71512C
square
#2C712F #2C4B71 #712C6E #71512C
split-complementary
#2C712F #512C71 #712C4B
monochromatic
#0A190A #1B451D #2C712F #3D9D41 #59BE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C712F#FFFFFF#000000##FFFFFF
##2C712F1.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)
#736729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#1F6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c712f;
/* rgb */ color: rgb(44, 113, 47);
/* oklch */ color: oklch(48.8% 0.121 144.2);
Tailwind
colors: {
  custom: {
    50: '#6d9a69',
    500: '#2c712f',
    950: '#000000',
  },
}
SCSS
$custom: #2c712f;
$custom-light: #6d9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c712f",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 122.609,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.12146,
    "h": 144.2
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#2C712F
secondary
#A3569F
accent
#54CED4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C712F

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

Preview Lab → · Contrast checker → · Palette generator →

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