#2C8156#2C8156

#2C8156 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.106 H 157.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C8156
RGBrgb(44, 129, 86)
HSLhsl(150, 49%, 34%)
HSVhsv(150, 66%, 51%)
CMYKcmyk(65.9%, 0%, 33.3%, 49.4%)
CIE-LABlab(48.14, -36.05, 16.03)
CIE-LCHlch(48.14, 39.45, 156.03°)
OKLaboklab(54.05% -0.0981 0.0405)
OKLCHoklch(54.05% 0.106 157.6)
XYZxyz(10.5677, 16.9068, 11.5087)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8156 #812C57
analogous
#2D812C #2C8156 #2C8181
triadic
#2C8156 #562C81 #81562C
tetradic
#2C8156 #2C2D81 #812C57 #81812C
square
#2C8156 #2C2D81 #812C57 #81812C
split-complementary
#2C8156 #812C81 #812C2D
monochromatic
#0D2619 #1C5338 #2C8156 #3CAF74 #5FC893

Accessibility & contrast

On white

4.79
#2C8156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2C8156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8156
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8156#FFFFFF#000000##FFFFFF
##2C81561.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807753
Deuteranopia (green-blind)
#756F59
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8156;
/* rgb */ color: rgb(44, 129, 86);
/* oklch */ color: oklch(54.0% 0.106 157.6);
Tailwind
colors: {
  custom: {
    50: '#6fa686',
    500: '#2c8156',
    950: '#000000',
  },
}
SCSS
$custom: #2c8156;
$custom-light: #6fa686;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8156",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 86
  },
  "hsl": {
    "h": 149.647,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.1061,
    "h": 157.6
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#2C8156
secondary
#AF5A85
accent
#4F95D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8156

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

Preview Lab → · Contrast checker → · Palette generator →

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