#2C8D2F#2C8D2F

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

Color values

HEX#2C8D2F
RGBrgb(44, 141, 47)
HSLhsl(122, 52%, 36%)
HSVhsv(122, 69%, 55%)
CMYKcmyk(68.8%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.60, -47.15, 40.76)
CIE-LCHlch(51.60, 62.33, 139.16°)
OKLaboklab(56.71% -0.1279 0.0945)
OKLCHoklch(56.71% 0.159 143.5)
XYZxyz(11.0760, 19.7893, 5.9248)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D2F #8D2C8A
analogous
#5A8D2C #2C8D2F #2C8D60
triadic
#2C8D2F #2F2C8D #8D2F2C
tetradic
#2C8D2F #2C5A8D #8D2C8A #8D602C
square
#2C8D2F #2C5A8D #8D2C8A #8D602C
split-complementary
#2C8D2F #602C8D #8D2C5A
monochromatic
#0F3010 #1D5E1F #2C8D2F #3BBC3F #65CF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8D2F#FFFFFF#000000##000000
##2C8D2F1.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)
#908023
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#12897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d2f;
/* rgb */ color: rgb(44, 141, 47);
/* oklch */ color: oklch(56.7% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2c8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d2f;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d2f",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 121.856,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.15899,
    "h": 143.5
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#2C8D2F
secondary
#B560B3
accent
#4CD7DC
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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