#2C8155#2C8155

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

Color values

HEX#2C8155
RGBrgb(44, 129, 85)
HSLhsl(149, 49%, 34%)
HSVhsv(149, 66%, 51%)
CMYKcmyk(65.9%, 0%, 34.1%, 49.4%)
CIE-LABlab(48.12, -36.26, 16.57)
CIE-LCHlch(48.12, 39.87, 155.44°)
OKLaboklab(54.02% -0.0986 0.0418)
OKLCHoklch(54.02% 0.107 157)
XYZxyz(10.5277, 16.8908, 11.2980)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8155 #812C58
analogous
#2E812C #2C8155 #2C8180
triadic
#2C8155 #552C81 #81552C
tetradic
#2C8155 #2C2E81 #812C58 #81802C
square
#2C8155 #2C2E81 #812C58 #81802C
split-complementary
#2C8155 #802C81 #812C2E
monochromatic
#0D2619 #1C5337 #2C8155 #3CAF73 #5FC892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8155#FFFFFF#000000##FFFFFF
##2C81551.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)
#807752
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8155;
/* rgb */ color: rgb(44, 129, 85);
/* oklch */ color: oklch(54.0% 0.107 157.0);
Tailwind
colors: {
  custom: {
    50: '#6fa685',
    500: '#2c8155',
    950: '#000000',
  },
}
SCSS
$custom: #2c8155;
$custom-light: #6fa685;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8155",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 148.941,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.10707,
    "h": 157
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#2C8155
secondary
#AF5A86
accent
#4F96D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8155

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

Preview Lab → · Contrast checker → · Palette generator →

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