#2C8738#2C8738

#2C8738 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.2% C 0.144 H 145.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C8738
RGBrgb(44, 135, 56)
HSLhsl(128, 51%, 35%)
HSVhsv(128, 67%, 53%)
CMYKcmyk(67.4%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.67, -43.81, 34.30)
CIE-LCHlch(49.67, 55.64, 141.95°)
OKLaboklab(55.15% -0.1184 0.0815)
OKLCHoklch(55.15% 0.144 145.5)
XYZxyz(10.4158, 18.1479, 6.6946)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8738 #872C7B
analogous
#4E872C #2C8738 #2C8765
triadic
#2C8738 #382C87 #87382C
tetradic
#2C8738 #2C4E87 #872C7B #87652C
square
#2C8738 #2C4E87 #872C7B #87652C
split-complementary
#2C8738 #652C87 #872C4E
monochromatic
#0E2B12 #1D5925 #2C8738 #3BB54B #62CC70

Accessibility & contrast

On white

4.54
#2C8738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2C8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8738
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8738#FFFFFF#000000##000000
##2C87381.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#128476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8738;
/* rgb */ color: rgb(44, 135, 56);
/* oklch */ color: oklch(55.2% 0.144 145.5);
Tailwind
colors: {
  custom: {
    50: '#71ab71',
    500: '#2c8738',
    950: '#000000',
  },
}
SCSS
$custom: #2c8738;
$custom-light: #71ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8738",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 127.912,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.14374,
    "h": 145.5
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#2C8738
secondary
#B25DA7
accent
#4DC8DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2C8738

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

Preview Lab → · Contrast checker → · Palette generator →

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