#2C8D31#2C8D31

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

Color values

HEX#2C8D31
RGBrgb(44, 141, 49)
HSLhsl(123, 52%, 36%)
HSVhsv(123, 69%, 55%)
CMYKcmyk(68.8%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.62, -46.93, 39.88)
CIE-LCHlch(51.62, 61.58, 139.64°)
OKLaboklab(56.73% -0.1272 0.0928)
OKLCHoklch(56.73% 0.157 143.9)
XYZxyz(11.1173, 19.8058, 6.1422)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D31 #8D2C88
analogous
#588D2C #2C8D31 #2C8D62
triadic
#2C8D31 #312C8D #8D312C
tetradic
#2C8D31 #2C588D #8D2C88 #8D622C
square
#2C8D31 #2C588D #8D2C88 #8D622C
split-complementary
#2C8D31 #622C8D #8D2C58
monochromatic
#0F3011 #1D5E21 #2C8D31 #3BBC41 #65CF6A

Accessibility & contrast

On white

4.23
#2C8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8D31#FFFFFF#000000##000000
##2C8D311.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#11897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d31;
/* rgb */ color: rgb(44, 141, 49);
/* oklch */ color: oklch(56.7% 0.157 143.9);
Tailwind
colors: {
  custom: {
    50: '#73af6d',
    500: '#2c8d31',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d31;
$custom-light: #73af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d31",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 123.093,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.15744,
    "h": 143.9
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#2C8D31
secondary
#B560B1
accent
#4CD4DC
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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