#2C8336#2C8336

#2C8336 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.140 H 145.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8336
RGBrgb(44, 131, 54)
HSLhsl(127, 50%, 34%)
HSVhsv(127, 66%, 51%)
CMYKcmyk(66.4%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.30, -42.54, 33.68)
CIE-LCHlch(48.30, 54.26, 141.64°)
OKLaboklab(54.01% -0.1151 0.0799)
OKLCHoklch(54.01% 0.14 145.2)
XYZxyz(9.8202, 17.0334, 6.2596)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8336 #832C79
analogous
#4E832C #2C8336 #2C8362
triadic
#2C8336 #362C83 #83362C
tetradic
#2C8336 #2C4E83 #832C79 #83622C
square
#2C8336 #2C4E83 #832C79 #83622C
split-complementary
#2C8336 #622C83 #832C4E
monochromatic
#0D2710 #1D5523 #2C8336 #3BB149 #60CA6C

Accessibility & contrast

On white

4.77
#2C8336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C8336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8336
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8336#FFFFFF#000000##FFFFFF
##2C83361.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7A703C
Tritanopia (blue-blind)
#158072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8336;
/* rgb */ color: rgb(44, 131, 54);
/* oklch */ color: oklch(54.0% 0.140 145.2);
Tailwind
colors: {
  custom: {
    50: '#70a86f',
    500: '#2c8336',
    950: '#000000',
  },
}
SCSS
$custom: #2c8336;
$custom-light: #70a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8336",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 126.897,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.14013,
    "h": 145.2
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#2C8336
secondary
#B05BA6
accent
#4FC9D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C8336

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

Preview Lab → · Contrast checker → · Palette generator →

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