#2C8E40#2C8E40

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

Color values

HEX#2C8E40
RGBrgb(44, 142, 64)
HSLhsl(132, 53%, 36%)
HSVhsv(132, 69%, 56%)
CMYKcmyk(69%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.12, -45.34, 33.18)
CIE-LCHlch(52.12, 56.19, 143.81°)
OKLaboklab(57.2% -0.1223 0.0796)
OKLCHoklch(57.2% 0.146 147)
XYZxyz(11.6363, 20.2504, 8.1450)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E40 #8E2C7A
analogous
#498E2C #2C8E40 #2C8E71
triadic
#2C8E40 #402C8E #8E402C
tetradic
#2C8E40 #2C498E #8E2C7A #8E712C
square
#2C8E40 #2C498E #8E2C7A #8E712C
split-complementary
#2C8E40 #712C8E #8E2C49
monochromatic
#0F3116 #1E5F2B #2C8E40 #3ABD55 #65CF7B

Accessibility & contrast

On white

4.16
#2C8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2C8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E40#FFFFFF#000000##000000
##2C8E401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#068B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e40;
/* rgb */ color: rgb(44, 142, 64);
/* oklch */ color: oklch(57.2% 0.146 147.0);
Tailwind
colors: {
  custom: {
    50: '#72b077',
    500: '#2c8e40',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e40;
$custom-light: #72b077;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e40",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 132.245,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.14593,
    "h": 147
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#2C8E40
secondary
#B660A4
accent
#4CBFDC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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