#2C811C#2C811C

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

Color values

HEX#2C811C
RGBrgb(44, 129, 28)
HSLhsl(110, 64%, 31%)
HSVhsv(110, 78%, 51%)
CMYKcmyk(65.9%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.39, -44.51, 44.11)
CIE-LCHlch(47.39, 62.67, 135.26°)
OKLaboklab(53.18% -0.1218 0.099)
OKLCHoklch(53.18% 0.157 140.9)
XYZxyz(9.0981, 16.3189, 3.7688)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C811C #711C81
analogous
#5E811C #2C811C #1C813E
triadic
#2C811C #1C2C81 #811C2C
tetradic
#2C811C #1C5E81 #711C81 #813E1C
square
#2C811C #1C5E81 #711C81 #813E1C
split-complementary
#2C811C #3E1C81 #811C5E
monochromatic
#0A1C06 #1B4F11 #2C811C #3DB327 #59D642

Accessibility & contrast

On white

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

On black

4.26
#2C811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C811C#FFFFFF#000000##FFFFFF
##2C811C1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c811c;
/* rgb */ color: rgb(44, 129, 28);
/* oklch */ color: oklch(53.2% 0.157 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a660',
    500: '#2c811c',
    950: '#000000',
  },
}
SCSS
$custom: #2c811c;
$custom-light: #71a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2c811c",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 110.495,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.15696,
    "h": 140.9
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#2C811C
secondary
#A344B4
accent
#40E7CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C811C

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

Preview Lab → · Contrast checker → · Palette generator →

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