#2C8D1D#2C8D1D

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

Color values

HEX#2C8D1D
RGBrgb(44, 141, 29)
HSLhsl(112, 66%, 33%)
HSVhsv(112, 79%, 55%)
CMYKcmyk(68.8%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.47, -48.74, 47.73)
CIE-LCHlch(51.47, 68.22, 135.59°)
OKLaboklab(56.56% -0.1331 0.1067)
OKLCHoklch(56.56% 0.171 141.3)
XYZxyz(10.7848, 19.6728, 4.3910)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D1D #7E1D8D
analogous
#648D1D #2C8D1D #1D8D46
triadic
#2C8D1D #1D2C8D #8D1D2C
tetradic
#2C8D1D #1D648D #7E1D8D #8D461D
square
#2C8D1D #1D648D #7E1D8D #8D461D
split-complementary
#2C8D1D #461D8D #8D1D64
monochromatic
#0C2708 #1C5A13 #2C8D1D #3CC027 #5EDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8D1D#FFFFFF#000000##000000
##2C8D1D1.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)
#85782A
Tritanopia (blue-blind)
#188878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d1d;
/* rgb */ color: rgb(44, 141, 29);
/* oklch */ color: oklch(56.6% 0.171 141.3);
Tailwind
colors: {
  custom: {
    50: '#74af62',
    500: '#2c8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d1d;
$custom-light: #74af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d1d",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 111.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.17061,
    "h": 141.3
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#2C8D1D
secondary
#AD4ABC
accent
#3FE9D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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