#2C8D2D#2C8D2D

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

Color values

HEX#2C8D2D
RGBrgb(44, 141, 45)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 69%, 55%)
CMYKcmyk(68.8%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.58, -47.36, 41.63)
CIE-LCHlch(51.58, 63.05, 138.69°)
OKLaboklab(56.69% -0.1285 0.0961)
OKLCHoklch(56.69% 0.16 143.2)
XYZxyz(11.0366, 19.7735, 5.7172)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D2D #8D2C8C
analogous
#5C8D2C #2C8D2D #2C8D5E
triadic
#2C8D2D #2D2C8D #8D2D2C
tetradic
#2C8D2D #2C5C8D #8D2C8C #8D5E2C
square
#2C8D2D #2C5C8D #8D2C8C #8D5E2C
split-complementary
#2C8D2D #5E2C8D #8D2C5C
monochromatic
#0F300F #1D5E1E #2C8D2D #3BBC3C #65CF66

Accessibility & contrast

On white

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

On black

4.96
#2C8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D2D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D2D#FFFFFF#000000##000000
##2C8D2D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#138979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d2d;
/* rgb */ color: rgb(44, 141, 45);
/* oklch */ color: oklch(56.7% 0.160 143.2);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2c8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d2d;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d2d",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 120.619,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.16048,
    "h": 143.2
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#2C8D2D
secondary
#B560B4
accent
#4CDADC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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