#2C8D2A#2C8D2A

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

Color values

HEX#2C8D2A
RGBrgb(44, 141, 42)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 55%)
CMYKcmyk(68.8%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.55, -47.66, 42.89)
CIE-LCHlch(51.55, 64.12, 138.02°)
OKLaboklab(56.66% -0.1295 0.0984)
OKLCHoklch(56.66% 0.163 142.8)
XYZxyz(10.9809, 19.7512, 5.4237)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D2A #8B2A8D
analogous
#5D8D2A #2C8D2A #2A8D59
triadic
#2C8D2A #2A2C8D #8D2A2C
tetradic
#2C8D2A #2A5D8D #8B2A8D #8D592A
square
#2C8D2A #2A5D8D #8B2A8D #8D592A
split-complementary
#2C8D2A #592A8D #8D2A5D
monochromatic
#0F2F0E #1D5E1C #2C8D2A #3BBC38 #64D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8D2A#FFFFFF#000000##000000
##2C8D2A1.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)
#90801C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#148979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d2a;
/* rgb */ color: rgb(44, 141, 42);
/* oklch */ color: oklch(56.7% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#73af69',
    500: '#2c8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d2a;
$custom-light: #73af69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d2a",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 118.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.16264,
    "h": 142.8
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#2C8D2A
secondary
#B45DB6
accent
#4ADDDA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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