#2C8D1C#2C8D1C

#2C8D1C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.171 H 141.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C8D1C
RGBrgb(44, 141, 28)
HSLhsl(112, 67%, 33%)
HSVhsv(112, 80%, 55%)
CMYKcmyk(68.8%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.46, -48.80, 48.06)
CIE-LCHlch(51.46, 68.49, 135.44°)
OKLaboklab(56.55% -0.1333 0.1073)
OKLCHoklch(56.55% 0.171 141.2)
XYZxyz(10.7726, 19.6679, 4.3270)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D1C #7D1C8D
analogous
#658D1C #2C8D1C #1C8D44
triadic
#2C8D1C #1C2C8D #8D1C2C
tetradic
#2C8D1C #1C658D #7D1C8D #8D441C
square
#2C8D1C #1C658D #7D1C8D #8D441C
split-complementary
#2C8D1C #441C8D #8D1C65
monochromatic
#0C2708 #1C5A12 #2C8D1C #3CC026 #5DDB49

Accessibility & contrast

On white

4.26
#2C8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2C8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D1C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D1C#FFFFFF#000000##000000
##2C8D1C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#188878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d1c;
/* rgb */ color: rgb(44, 141, 28);
/* oklch */ color: oklch(56.6% 0.171 141.2);
Tailwind
colors: {
  custom: {
    50: '#74af62',
    500: '#2c8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d1c;
$custom-light: #74af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d1c",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 111.504,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.17113,
    "h": 141.2
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#2C8D1C
secondary
#AC48BD
accent
#3EEAD1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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