#2C8548#2C8548

#2C8548 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.126 H 150.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C8548
RGBrgb(44, 133, 72)
HSLhsl(139, 50%, 35%)
HSVhsv(139, 67%, 52%)
CMYKcmyk(66.9%, 0%, 45.9%, 47.8%)
CIE-LABlab(49.22, -40.51, 25.33)
CIE-LCHlch(49.22, 47.77, 147.98°)
OKLaboklab(54.85% -0.1093 0.0623)
OKLCHoklch(54.85% 0.126 150.3)
XYZxyz(10.5951, 17.7773, 9.0026)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8548 #852C69
analogous
#3D852C #2C8548 #2C8574
triadic
#2C8548 #482C85 #85482C
tetradic
#2C8548 #2C3D85 #852C69 #85742C
square
#2C8548 #2C3D85 #852C69 #85742C
split-complementary
#2C8548 #742C85 #852C3D
monochromatic
#0E2916 #1D572F #2C8548 #3BB361 #61CB82

Accessibility & contrast

On white

4.61
#2C8548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C8548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8548
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8548#FFFFFF#000000##FFFFFF
##2C85481.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#078376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8548;
/* rgb */ color: rgb(44, 133, 72);
/* oklch */ color: oklch(54.9% 0.126 150.3);
Tailwind
colors: {
  custom: {
    50: '#70a97c',
    500: '#2c8548',
    950: '#000000',
  },
}
SCSS
$custom: #2c8548;
$custom-light: #70a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8548",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 138.876,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.12579,
    "h": 150.3
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#2C8548
secondary
#B15C96
accent
#4EAEDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8548

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

Preview Lab → · Contrast checker → · Palette generator →

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