#2C8140#2C8140

#2C8140 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.128 H 148.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C8140
RGBrgb(44, 129, 64)
HSLhsl(134, 49%, 34%)
HSVhsv(134, 66%, 51%)
CMYKcmyk(65.9%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.76, -40.25, 27.81)
CIE-LCHlch(47.76, 48.93, 145.36°)
OKLaboklab(53.6% -0.1086 0.0676)
OKLCHoklch(53.6% 0.128 148.1)
XYZxyz(9.8137, 16.6052, 7.5374)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8140 #812C6D
analogous
#43812C #2C8140 #2C816B
triadic
#2C8140 #402C81 #81402C
tetradic
#2C8140 #2C4381 #812C6D #816B2C
square
#2C8140 #2C4381 #812C6D #816B2C
split-complementary
#2C8140 #6B2C81 #812C43
monochromatic
#0D2613 #1C5329 #2C8140 #3CAF57 #5FC878

Accessibility & contrast

On white

4.86
#2C8140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C8140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8140
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8140#FFFFFF#000000##FFFFFF
##2C81401.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#786E45
Tritanopia (blue-blind)
#117E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8140;
/* rgb */ color: rgb(44, 129, 64);
/* oklch */ color: oklch(53.6% 0.128 148.1);
Tailwind
colors: {
  custom: {
    50: '#70a676',
    500: '#2c8140',
    950: '#000000',
  },
}
SCSS
$custom: #2c8140;
$custom-light: #70a676;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8140",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 134.118,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.12796,
    "h": 148.1
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#2C8140
secondary
#AF5A9B
accent
#4FB8D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C8140

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

Preview Lab → · Contrast checker → · Palette generator →

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