#2C8154#2C8154

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

Color values

HEX#2C8154
RGBrgb(44, 129, 84)
HSLhsl(148, 49%, 34%)
HSVhsv(148, 66%, 51%)
CMYKcmyk(65.9%, 0%, 34.9%, 49.4%)
CIE-LABlab(48.10, -36.48, 17.12)
CIE-LCHlch(48.10, 40.30, 154.86°)
OKLaboklab(54% -0.0991 0.0432)
OKLCHoklch(54% 0.108 156.5)
XYZxyz(10.4883, 16.8750, 11.0902)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8154 #812C59
analogous
#2F812C #2C8154 #2C817F
triadic
#2C8154 #542C81 #81542C
tetradic
#2C8154 #2C2F81 #812C59 #817F2C
square
#2C8154 #2C2F81 #812C59 #817F2C
split-complementary
#2C8154 #7F2C81 #812C2F
monochromatic
#0D2619 #1C5336 #2C8154 #3CAF72 #5FC891

Accessibility & contrast

On white

4.80
#2C8154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C8154
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8154#FFFFFF#000000##FFFFFF
##2C81541.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807751
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8154;
/* rgb */ color: rgb(44, 129, 84);
/* oklch */ color: oklch(54.0% 0.108 156.5);
Tailwind
colors: {
  custom: {
    50: '#6fa684',
    500: '#2c8154',
    950: '#000000',
  },
}
SCSS
$custom: #2c8154;
$custom-light: #6fa684;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8154",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 148.235,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.10805,
    "h": 156.5
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#2C8154
secondary
#AF5A87
accent
#4F98D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8154

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

Preview Lab → · Contrast checker → · Palette generator →

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