#2C8541#2C8541

#2C8541 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.133 H 148.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C8541
RGBrgb(44, 133, 65)
HSLhsl(134, 50%, 35%)
HSVhsv(134, 67%, 52%)
CMYKcmyk(66.9%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.12, -41.69, 28.97)
CIE-LCHlch(49.12, 50.77, 145.21°)
OKLaboklab(54.73% -0.1125 0.0703)
OKLCHoklch(54.73% 0.133 148)
XYZxyz(10.3796, 17.6911, 7.8677)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8541 #852C70
analogous
#44852C #2C8541 #2C856D
triadic
#2C8541 #412C85 #85412C
tetradic
#2C8541 #2C4485 #852C70 #856D2C
square
#2C8541 #2C4485 #852C70 #856D2C
split-complementary
#2C8541 #6D2C85 #852C44
monochromatic
#0E2914 #1D572B #2C8541 #3BB357 #61CB7A

Accessibility & contrast

On white

4.63
#2C8541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2C8541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8541
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8541#FFFFFF#000000##FFFFFF
##2C85411.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#0D8275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8541;
/* rgb */ color: rgb(44, 133, 65);
/* oklch */ color: oklch(54.7% 0.133 148.0);
Tailwind
colors: {
  custom: {
    50: '#70a977',
    500: '#2c8541',
    950: '#000000',
  },
}
SCSS
$custom: #2c8541;
$custom-light: #70a977;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8541",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 134.157,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.13264,
    "h": 148
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#2C8541
secondary
#B15C9D
accent
#4EB9DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2C8541

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

Preview Lab → · Contrast checker → · Palette generator →

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