#2C8C42#2C8C42

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

Color values

HEX#2C8C42
RGBrgb(44, 140, 66)
HSLhsl(134, 52%, 36%)
HSVhsv(134, 69%, 55%)
CMYKcmyk(68.6%, 0%, 52.9%, 45.1%)
CIE-LABlab(51.48, -44.28, 31.36)
CIE-LCHlch(51.48, 54.26, 144.69°)
OKLaboklab(56.68% -0.1194 0.0757)
OKLCHoklch(56.68% 0.141 147.6)
XYZxyz(11.3993, 19.6838, 8.3518)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C42 #8C2C76
analogous
#468C2C #2C8C42 #2C8C72
triadic
#2C8C42 #422C8C #8C422C
tetradic
#2C8C42 #2C468C #8C2C76 #8C722C
square
#2C8C42 #2C468C #8C2C76 #8C722C
split-complementary
#2C8C42 #722C8C #8C2C46
monochromatic
#0F2F16 #1D5D2C #2C8C42 #3BBB58 #64CE7C

Accessibility & contrast

On white

4.25
#2C8C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C8C42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C42
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C42#FFFFFF#000000##000000
##2C8C421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803C
Deuteranopia (green-blind)
#827747
Tritanopia (blue-blind)
#06897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8c42;
/* rgb */ color: rgb(44, 140, 66);
/* oklch */ color: oklch(56.7% 0.141 147.6);
Tailwind
colors: {
  custom: {
    50: '#72ae78',
    500: '#2c8c42',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c42;
$custom-light: #72ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c42",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 66
  },
  "hsl": {
    "h": 133.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.14137,
    "h": 147.6
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#2C8C42
secondary
#B55FA1
accent
#4CBBDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8C42

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

Preview Lab → · Contrast checker → · Palette generator →

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