#2C8B42#2C8B42

#2C8B42 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.140 H 147.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8B42
RGBrgb(44, 139, 66)
HSLhsl(134, 52%, 36%)
HSVhsv(134, 68%, 55%)
CMYKcmyk(68.3%, 0%, 52.5%, 45.5%)
CIE-LABlab(51.14, -43.89, 30.95)
CIE-LCHlch(51.14, 53.71, 144.81°)
OKLaboklab(56.41% -0.1184 0.0748)
OKLCHoklch(56.41% 0.14 147.7)
XYZxyz(11.2539, 19.3929, 8.3033)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B42 #8B2C75
analogous
#458B2C #2C8B42 #2C8B71
triadic
#2C8B42 #422C8B #8B422C
tetradic
#2C8B42 #2C458B #8B2C75 #8B712C
square
#2C8B42 #2C458B #8B2C75 #8B712C
split-complementary
#2C8B42 #712C8B #8B2C45
monochromatic
#0F2E16 #1D5D2C #2C8B42 #3BB958 #64CE7C

Accessibility & contrast

On white

4.30
#2C8B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B42
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B42#FFFFFF#000000##000000
##2C8B421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#817747
Tritanopia (blue-blind)
#07887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8b42;
/* rgb */ color: rgb(44, 139, 66);
/* oklch */ color: oklch(56.4% 0.140 147.7);
Tailwind
colors: {
  custom: {
    50: '#72ae78',
    500: '#2c8b42',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b42;
$custom-light: #72ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b42",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 133.895,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.14,
    "h": 147.7
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#2C8B42
secondary
#B45FA0
accent
#4CBADB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8B42

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

Preview Lab → · Contrast checker → · Palette generator →

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