#2C8539#2C8539

#2C8539 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.140 H 145.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C8539
RGBrgb(44, 133, 57)
HSLhsl(129, 50%, 35%)
HSVhsv(129, 67%, 52%)
CMYKcmyk(66.9%, 0%, 57.1%, 47.8%)
CIE-LABlab(49.01, -42.90, 33.01)
CIE-LCHlch(49.01, 54.13, 142.43°)
OKLaboklab(54.61% -0.1159 0.0787)
OKLCHoklch(54.61% 0.14 145.8)
XYZxyz(10.1641, 17.6049, 6.7325)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8539 #852C78
analogous
#4C852C #2C8539 #2C8566
triadic
#2C8539 #392C85 #85392C
tetradic
#2C8539 #2C4C85 #852C78 #85662C
square
#2C8539 #2C4C85 #852C78 #85662C
split-complementary
#2C8539 #662C85 #852C4C
monochromatic
#0E2912 #1D5725 #2C8539 #3BB34D #61CB70

Accessibility & contrast

On white

4.64
#2C8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2C8539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8539
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8539#FFFFFF#000000##FFFFFF
##2C85391.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#7C723F
Tritanopia (blue-blind)
#138274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8539;
/* rgb */ color: rgb(44, 133, 57);
/* oklch */ color: oklch(54.6% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#71a971',
    500: '#2c8539',
    950: '#000000',
  },
}
SCSS
$custom: #2c8539;
$custom-light: #71a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8539",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 128.764,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.14014,
    "h": 145.8
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#2C8539
secondary
#B15CA4
accent
#4EC5DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8539

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

Preview Lab → · Contrast checker → · Palette generator →

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