#2C8E42#2C8E42

#2C8E42 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.144 H 147.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C8E42
RGBrgb(44, 142, 66)
HSLhsl(133, 53%, 36%)
HSVhsv(133, 69%, 56%)
CMYKcmyk(69%, 0%, 53.5%, 44.3%)
CIE-LABlab(52.15, -45.05, 32.18)
CIE-LCHlch(52.15, 55.36, 144.46°)
OKLaboklab(57.23% -0.1215 0.0775)
OKLCHoklch(57.23% 0.144 147.5)
XYZxyz(11.6942, 20.2736, 8.4501)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E42 #8E2C78
analogous
#478E2C #2C8E42 #2C8E73
triadic
#2C8E42 #422C8E #8E422C
tetradic
#2C8E42 #2C478E #8E2C78 #8E732C
square
#2C8E42 #2C478E #8E2C78 #8E732C
split-complementary
#2C8E42 #732C8E #8E2C47
monochromatic
#0F3117 #1E5F2C #2C8E42 #3ABD58 #65CF7D

Accessibility & contrast

On white

4.15
#2C8E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C8E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E42
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E42#FFFFFF#000000##000000
##2C8E421.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#048B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e42;
/* rgb */ color: rgb(44, 142, 66);
/* oklch */ color: oklch(57.2% 0.144 147.5);
Tailwind
colors: {
  custom: {
    50: '#72b078',
    500: '#2c8e42',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e42;
$custom-light: #72b078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e42",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 133.469,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.14409,
    "h": 147.5
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#2C8E42
secondary
#B660A2
accent
#4CBCDC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C8E42

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

Preview Lab → · Contrast checker → · Palette generator →

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