#2C8157#2C8157

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

Color values

HEX#2C8157
RGBrgb(44, 129, 87)
HSLhsl(150, 49%, 34%)
HSVhsv(150, 66%, 51%)
CMYKcmyk(65.9%, 0%, 32.6%, 49.4%)
CIE-LABlab(48.16, -35.83, 15.48)
CIE-LCHlch(48.16, 39.03, 156.63°)
OKLaboklab(54.07% -0.0976 0.0392)
OKLCHoklch(54.07% 0.105 158.1)
XYZxyz(10.6083, 16.9230, 11.7224)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8157 #812C56
analogous
#2C812D #2C8157 #2C8181
triadic
#2C8157 #572C81 #81572C
tetradic
#2C8157 #2D2C81 #812C56 #81812C
square
#2C8157 #2D2C81 #812C56 #81812C
split-complementary
#2C8157 #812C81 #812D2C
monochromatic
#0D2619 #1C5338 #2C8157 #3CAF76 #5FC894

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8157#FFFFFF#000000##FFFFFF
##2C81571.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)
#807754
Deuteranopia (green-blind)
#756F5A
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8157;
/* rgb */ color: rgb(44, 129, 87);
/* oklch */ color: oklch(54.1% 0.105 158.1);
Tailwind
colors: {
  custom: {
    50: '#6fa686',
    500: '#2c8157',
    950: '#000000',
  },
}
SCSS
$custom: #2c8157;
$custom-light: #6fa686;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8157",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 150.353,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.10514,
    "h": 158.1
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#2C8157
secondary
#AF5A84
accent
#4F93D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8157

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

Preview Lab → · Contrast checker → · Palette generator →

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