#2C8D2C#2C8D2C

#2C8D2C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.161 H 143.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C8D2C
RGBrgb(44, 141, 44)
HSLhsl(120, 52%, 36%)
HSVhsv(120, 69%, 55%)
CMYKcmyk(68.8%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.57, -47.46, 42.05)
CIE-LCHlch(51.57, 63.41, 138.46°)
OKLaboklab(56.68% -0.1289 0.0968)
OKLCHoklch(56.68% 0.161 143.1)
XYZxyz(11.0176, 19.7659, 5.6170)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D2C #8D2C8D
analogous
#5D8D2C #2C8D2C #2C8D5D
triadic
#2C8D2C #2C2C8D #8D2C2C
tetradic
#2C8D2C #2C5D8D #8D2C8D #8D5D2C
square
#2C8D2C #2C5D8D #8D2C8D #8D5D2C
split-complementary
#2C8D2C #5D2C8D #8D2C5D
monochromatic
#0F300F #1D5E1D #2C8D2C #3BBC3B #65CF65

Accessibility & contrast

On white

4.24
#2C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2C8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D2C#FFFFFF#000000##000000
##2C8D2C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#138979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d2c;
/* rgb */ color: rgb(44, 141, 44);
/* oklch */ color: oklch(56.7% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#73af6a',
    500: '#2c8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d2c;
$custom-light: #73af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d2c",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.16122,
    "h": 143.1
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#2C8D2C
secondary
#B560B5
accent
#4CDCDC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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