#2C8C1C#2C8C1C

#2C8C1C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.170 H 141.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8C1C
RGBrgb(44, 140, 28)
HSLhsl(111, 67%, 33%)
HSVhsv(111, 80%, 55%)
CMYKcmyk(68.6%, 0%, 80%, 45.1%)
CIE-LABlab(51.12, -48.45, 47.74)
CIE-LCHlch(51.12, 68.02, 135.43°)
OKLaboklab(56.27% -0.1324 0.1066)
OKLCHoklch(56.27% 0.17 141.2)
XYZxyz(10.6258, 19.3744, 4.2780)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C1C #7C1C8C
analogous
#648C1C #2C8C1C #1C8C44
triadic
#2C8C1C #1C2C8C #8C1C2C
tetradic
#2C8C1C #1C648C #7C1C8C #8C441C
square
#2C8C1C #1C648C #7C1C8C #8C441C
split-complementary
#2C8C1C #441C8C #8C1C64
monochromatic
#0C2608 #1C5912 #2C8C1C #3CBF26 #5DDA48

Accessibility & contrast

On white

4.31
#2C8C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C1C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C1C#FFFFFF#000000##000000
##2C8C1C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c1c;
/* rgb */ color: rgb(44, 140, 28);
/* oklch */ color: oklch(56.3% 0.170 141.2);
Tailwind
colors: {
  custom: {
    50: '#74af62',
    500: '#2c8c1c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c1c;
$custom-light: #74af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c1c",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 111.429,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.16997,
    "h": 141.2
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#2C8C1C
secondary
#AC48BC
accent
#3EEAD1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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