#2C8150#2C8150

#2C8150 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.112 H 154.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C8150
RGBrgb(44, 129, 80)
HSLhsl(145, 49%, 34%)
HSVhsv(145, 66%, 51%)
CMYKcmyk(65.9%, 0%, 38%, 49.4%)
CIE-LABlab(48.02, -37.31, 19.29)
CIE-LCHlch(48.02, 42.01, 152.66°)
OKLaboklab(53.91% -0.101 0.0483)
OKLCHoklch(53.91% 0.112 154.4)
XYZxyz(10.3360, 16.8141, 10.2886)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8150 #812C5D
analogous
#33812C #2C8150 #2C817B
triadic
#2C8150 #502C81 #81502C
tetradic
#2C8150 #2C3381 #812C5D #817B2C
square
#2C8150 #2C3381 #812C5D #817B2C
split-complementary
#2C8150 #7B2C81 #812C33
monochromatic
#0D2617 #1C5334 #2C8150 #3CAF6C #5FC88C

Accessibility & contrast

On white

4.81
#2C8150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C8150 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8150
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8150#FFFFFF#000000##FFFFFF
##2C81501.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774D
Deuteranopia (green-blind)
#766F53
Tritanopia (blue-blind)
#018075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8150;
/* rgb */ color: rgb(44, 129, 80);
/* oklch */ color: oklch(53.9% 0.112 154.4);
Tailwind
colors: {
  custom: {
    50: '#6fa681',
    500: '#2c8150',
    950: '#000000',
  },
}
SCSS
$custom: #2c8150;
$custom-light: #6fa681;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8150",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 80
  },
  "hsl": {
    "h": 145.412,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.112,
    "h": 154.4
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#2C8150
secondary
#AF5A8B
accent
#4F9ED9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C8150

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

Preview Lab → · Contrast checker → · Palette generator →

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