#2C8C2A#2C8C2A

#2C8C2A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.161 H 142.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C8C2A
RGBrgb(44, 140, 42)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 55%)
CMYKcmyk(68.6%, 0%, 70%, 45.1%)
CIE-LABlab(51.22, -47.30, 42.53)
CIE-LCHlch(51.22, 63.61, 138.04°)
OKLaboklab(56.38% -0.1285 0.0976)
OKLCHoklch(56.38% 0.161 142.8)
XYZxyz(10.8341, 19.4577, 5.3748)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C2A #8A2A8C
analogous
#5D8C2A #2C8C2A #2A8C59
triadic
#2C8C2A #2A2C8C #8C2A2C
tetradic
#2C8C2A #2A5D8C #8A2A8C #8C592A
square
#2C8C2A #2A5D8C #8A2A8C #8C592A
split-complementary
#2C8C2A #592A8C #8C2A5D
monochromatic
#0E2E0E #1D5D1C #2C8C2A #3BBB38 #63D061

Accessibility & contrast

On white

4.29
#2C8C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2C8C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C2A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C2A#FFFFFF#000000##000000
##2C8C2A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#158878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c2a;
/* rgb */ color: rgb(44, 140, 42);
/* oklch */ color: oklch(56.4% 0.161 142.8);
Tailwind
colors: {
  custom: {
    50: '#73af69',
    500: '#2c8c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c2a;
$custom-light: #73af69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c2a",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 118.776,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.1614,
    "h": 142.8
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#2C8C2A
secondary
#B45CB5
accent
#4BDDDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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