#2C8D42#2C8D42

#2C8D42 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.143 H 147.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C8D42
RGBrgb(44, 141, 66)
HSLhsl(134, 52%, 36%)
HSVhsv(134, 69%, 55%)
CMYKcmyk(68.8%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.81, -44.66, 31.77)
CIE-LCHlch(51.81, 54.81, 144.57°)
OKLaboklab(56.96% -0.1204 0.0766)
OKLCHoklch(56.96% 0.143 147.5)
XYZxyz(11.5461, 19.9773, 8.4007)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D42 #8D2C77
analogous
#478D2C #2C8D42 #2C8D73
triadic
#2C8D42 #422C8D #8D422C
tetradic
#2C8D42 #2C478D #8D2C77 #8D732C
square
#2C8D42 #2C478D #8D2C77 #8D732C
split-complementary
#2C8D42 #732C8D #8D2C47
monochromatic
#0F3016 #1D5E2C #2C8D42 #3BBC58 #65CF7D

Accessibility & contrast

On white

4.20
#2C8D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C8D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D42
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D42#FFFFFF#000000##000000
##2C8D421.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#837848
Tritanopia (blue-blind)
#058A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d42;
/* rgb */ color: rgb(44, 141, 66);
/* oklch */ color: oklch(57.0% 0.143 147.5);
Tailwind
colors: {
  custom: {
    50: '#72af78',
    500: '#2c8d42',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d42;
$custom-light: #72af78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d42",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 133.608,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.14274,
    "h": 147.5
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#2C8D42
secondary
#B560A2
accent
#4CBBDC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8D42

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

Preview Lab → · Contrast checker → · Palette generator →

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