#2C8339#2C8339

#2C8339 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.137 H 145.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C8339
RGBrgb(44, 131, 57)
HSLhsl(129, 50%, 34%)
HSVhsv(129, 66%, 51%)
CMYKcmyk(66.4%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.34, -42.13, 32.20)
CIE-LCHlch(48.34, 53.02, 142.61°)
OKLaboklab(54.05% -0.1138 0.0769)
OKLCHoklch(54.05% 0.137 145.9)
XYZxyz(9.8929, 17.0625, 6.6421)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8339 #832C76
analogous
#4A832C #2C8339 #2C8365
triadic
#2C8339 #392C83 #83392C
tetradic
#2C8339 #2C4A83 #832C76 #83652C
square
#2C8339 #2C4A83 #832C76 #83652C
split-complementary
#2C8339 #652C83 #832C4A
monochromatic
#0D2711 #1D5525 #2C8339 #3BB14D #60CA70

Accessibility & contrast

On white

4.76
#2C8339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C8339
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8339#FFFFFF#000000##FFFFFF
##2C83391.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#148072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8339;
/* rgb */ color: rgb(44, 131, 57);
/* oklch */ color: oklch(54.1% 0.137 145.9);
Tailwind
colors: {
  custom: {
    50: '#70a871',
    500: '#2c8339',
    950: '#000000',
  },
}
SCSS
$custom: #2c8339;
$custom-light: #70a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8339",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 128.966,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.13741,
    "h": 145.9
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#2C8339
secondary
#B05BA3
accent
#4FC5D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8339

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

Preview Lab → · Contrast checker → · Palette generator →

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