#2C8158#2C8158

#2C8158 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.1% C 0.104 H 158.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C8158
RGBrgb(44, 129, 88)
HSLhsl(151, 49%, 34%)
HSVhsv(151, 66%, 51%)
CMYKcmyk(65.9%, 0%, 31.8%, 49.4%)
CIE-LABlab(48.18, -35.61, 14.94)
CIE-LCHlch(48.18, 38.61, 157.25°)
OKLaboklab(54.09% -0.0971 0.0379)
OKLCHoklch(54.09% 0.104 158.7)
XYZxyz(10.6494, 16.9395, 11.9390)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8158 #812C55
analogous
#2C812E #2C8158 #2C8081
triadic
#2C8158 #582C81 #81582C
tetradic
#2C8158 #2E2C81 #812C55 #80812C
square
#2C8158 #2E2C81 #812C55 #80812C
split-complementary
#2C8158 #812C80 #812E2C
monochromatic
#0D261A #1C5339 #2C8158 #3CAF77 #5FC896

Accessibility & contrast

On white

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

On black

4.39
#2C8158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C8158#FFFFFF#000000##FFFFFF
##2C81581.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807756
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8158;
/* rgb */ color: rgb(44, 129, 88);
/* oklch */ color: oklch(54.1% 0.104 158.7);
Tailwind
colors: {
  custom: {
    50: '#6fa687',
    500: '#2c8158',
    950: '#000000',
  },
}
SCSS
$custom: #2c8158;
$custom-light: #6fa687;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8158",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 151.059,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.10418,
    "h": 158.7
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#2C8158
secondary
#AF5A83
accent
#4F91D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8158

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

Preview Lab → · Contrast checker → · Palette generator →

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