#2C8C40#2C8C40

#2C8C40 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.143 H 147.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C8C40
RGBrgb(44, 140, 64)
HSLhsl(133, 52%, 36%)
HSVhsv(133, 69%, 55%)
CMYKcmyk(68.6%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.45, -44.58, 32.37)
CIE-LCHlch(51.45, 55.09, 144.02°)
OKLaboklab(56.65% -0.1203 0.0778)
OKLCHoklch(56.65% 0.143 147.1)
XYZxyz(11.3414, 19.6606, 8.0467)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C40 #8C2C78
analogous
#488C2C #2C8C40 #2C8C70
triadic
#2C8C40 #402C8C #8C402C
tetradic
#2C8C40 #2C488C #8C2C78 #8C702C
square
#2C8C40 #2C488C #8C2C78 #8C702C
split-complementary
#2C8C40 #702C8C #8C2C48
monochromatic
#0F2F15 #1D5D2B #2C8C40 #3BBB55 #64CE7A

Accessibility & contrast

On white

4.26
#2C8C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2C8C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C40
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C40#FFFFFF#000000##000000
##2C8C401.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#08897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8c40;
/* rgb */ color: rgb(44, 140, 64);
/* oklch */ color: oklch(56.7% 0.143 147.1);
Tailwind
colors: {
  custom: {
    50: '#72ae77',
    500: '#2c8c40',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c40;
$custom-light: #72ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c40",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 132.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.14323,
    "h": 147.1
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#2C8C40
secondary
#B55FA3
accent
#4CBEDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8C40

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

Preview Lab → · Contrast checker → · Palette generator →

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