#2C712B#2C712B

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

Color values

HEX#2C712B
RGBrgb(44, 113, 43)
HSLhsl(119, 45%, 31%)
HSVhsv(119, 62%, 44%)
CMYKcmyk(61.1%, 0%, 61.9%, 55.7%)
CIE-LABlab(42.03, -36.83, 31.88)
CIE-LCHlch(42.03, 48.71, 139.12°)
OKLaboklab(48.79% -0.1001 0.0751)
OKLCHoklch(48.79% 0.125 143.1)
XYZxyz(7.3795, 12.5195, 4.3126)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C712B #702B71
analogous
#4F712B #2C712B #2B714D
triadic
#2C712B #2B2C71 #712B2C
tetradic
#2C712B #2B4F71 #702B71 #714D2B
square
#2C712B #2B4F71 #702B71 #714D2B
split-complementary
#2C712B #4D2B71 #712B4F
monochromatic
#091809 #1B451A #2C712B #3D9D3C #59BF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C712B#FFFFFF#000000##FFFFFF
##2C712B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c712b;
/* rgb */ color: rgb(44, 113, 43);
/* oklch */ color: oklch(48.8% 0.125 143.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2c712b',
    950: '#000000',
  },
}
SCSS
$custom: #2c712b;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c712b",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 119.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.12514,
    "h": 143.1
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#2C712B
secondary
#A255A3
accent
#53D5D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C712B

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

Preview Lab → · Contrast checker → · Palette generator →

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