#2C8345#2C8345

#2C8345 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.126 H 149.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C8345
RGBrgb(44, 131, 69)
HSLhsl(137, 50%, 34%)
HSVhsv(137, 66%, 51%)
CMYKcmyk(66.4%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.51, -40.22, 26.05)
CIE-LCHlch(48.51, 47.92, 147.07°)
OKLaboklab(54.25% -0.1085 0.0638)
OKLCHoklch(54.25% 0.126 149.5)
XYZxyz(10.2284, 17.1967, 8.4093)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8345 #832C6A
analogous
#3F832C #2C8345 #2C8371
triadic
#2C8345 #452C83 #83452C
tetradic
#2C8345 #2C3F83 #832C6A #83712C
square
#2C8345 #2C3F83 #832C6A #83712C
split-complementary
#2C8345 #712C83 #832C3F
monochromatic
#0D2715 #1D552D #2C8345 #3BB15D #60CA7E

Accessibility & contrast

On white

4.73
#2C8345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C8345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8345
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8345#FFFFFF#000000##FFFFFF
##2C83451.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#0C8174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8345;
/* rgb */ color: rgb(44, 131, 69);
/* oklch */ color: oklch(54.2% 0.126 149.5);
Tailwind
colors: {
  custom: {
    50: '#70a879',
    500: '#2c8345',
    950: '#000000',
  },
}
SCSS
$custom: #2c8345;
$custom-light: #70a879;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8345",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 137.241,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.1259,
    "h": 149.5
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#2C8345
secondary
#B05B97
accent
#4FB1D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8345

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

Preview Lab → · Contrast checker → · Palette generator →

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