#2C8D40#2C8D40

#2C8D40 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.145 H 147.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C8D40
RGBrgb(44, 141, 64)
HSLhsl(132, 52%, 36%)
HSVhsv(132, 69%, 55%)
CMYKcmyk(68.8%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.79, -44.96, 32.77)
CIE-LCHlch(51.79, 55.64, 143.91°)
OKLaboklab(56.93% -0.1213 0.0787)
OKLCHoklch(56.93% 0.145 147)
XYZxyz(11.4882, 19.9542, 8.0956)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D40 #8D2C79
analogous
#498D2C #2C8D40 #2C8D71
triadic
#2C8D40 #402C8D #8D402C
tetradic
#2C8D40 #2C498D #8D2C79 #8D712C
square
#2C8D40 #2C498D #8D2C79 #8D712C
split-complementary
#2C8D40 #712C8D #8D2C49
monochromatic
#0F3016 #1D5E2B #2C8D40 #3BBC55 #65CF7A

Accessibility & contrast

On white

4.21
#2C8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2C8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D40
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D40#FFFFFF#000000##000000
##2C8D401.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8039
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#078A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d40;
/* rgb */ color: rgb(44, 141, 64);
/* oklch */ color: oklch(56.9% 0.145 147.0);
Tailwind
colors: {
  custom: {
    50: '#72af77',
    500: '#2c8d40',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d40;
$custom-light: #72af77;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d40",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 132.371,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.14459,
    "h": 147
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#2C8D40
secondary
#B560A4
accent
#4CBEDC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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