#2C8142#2C8142

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

Color values

HEX#2C8142
RGBrgb(44, 129, 66)
HSLhsl(136, 49%, 34%)
HSVhsv(136, 66%, 51%)
CMYKcmyk(65.9%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.79, -39.92, 26.77)
CIE-LCHlch(47.79, 48.06, 146.16°)
OKLaboklab(53.64% -0.1077 0.0653)
OKLCHoklch(53.64% 0.126 148.8)
XYZxyz(9.8716, 16.6283, 7.8426)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8142 #812C6B
analogous
#41812C #2C8142 #2C816D
triadic
#2C8142 #422C81 #81422C
tetradic
#2C8142 #2C4181 #812C6B #816D2C
square
#2C8142 #2C4181 #812C6B #816D2C
split-complementary
#2C8142 #6D2C81 #812C41
monochromatic
#0D2613 #1C532B #2C8142 #3CAF59 #5FC87A

Accessibility & contrast

On white

4.85
#2C8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8142
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8142#FFFFFF#000000##FFFFFF
##2C81421.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#107E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8142;
/* rgb */ color: rgb(44, 129, 66);
/* oklch */ color: oklch(53.6% 0.126 148.8);
Tailwind
colors: {
  custom: {
    50: '#70a677',
    500: '#2c8142',
    950: '#000000',
  },
}
SCSS
$custom: #2c8142;
$custom-light: #70a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8142",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 135.529,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.126,
    "h": 148.8
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#2C8142
secondary
#AF5A99
accent
#4FB5D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C8142

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

Preview Lab → · Contrast checker → · Palette generator →

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