#2C811F#2C811F

#2C811F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.155 H 141.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C811F
RGBrgb(44, 129, 31)
HSLhsl(112, 61%, 31%)
HSVhsv(112, 76%, 51%)
CMYKcmyk(65.9%, 0%, 76%, 49.4%)
CIE-LABlab(47.41, -44.28, 43.02)
CIE-LCHlch(47.41, 61.74, 135.83°)
OKLaboklab(53.2% -0.121 0.0972)
OKLCHoklch(53.2% 0.155 141.2)
XYZxyz(9.1358, 16.3340, 3.9674)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C811F #741F81
analogous
#5D811F #2C811F #1F8143
triadic
#2C811F #1F2C81 #811F2C
tetradic
#2C811F #1F5D81 #741F81 #81431F
square
#2C811F #1F5D81 #741F81 #81431F
split-complementary
#2C811F #431F81 #811F5D
monochromatic
#0A1E07 #1B5013 #2C811F #3DB22B #5AD347

Accessibility & contrast

On white

4.92
#2C811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2C811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C811F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C811F#FFFFFF#000000##FFFFFF
##2C811F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1D7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c811f;
/* rgb */ color: rgb(44, 129, 31);
/* oklch */ color: oklch(53.2% 0.155 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a662',
    500: '#2c811f',
    950: '#000000',
  },
}
SCSS
$custom: #2c811f;
$custom-light: #71a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2c811f",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 112.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.15517,
    "h": 141.2
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#2C811F
secondary
#A648B4
accent
#43E4CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2C811F

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

Preview Lab → · Contrast checker → · Palette generator →

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