#2C8271#2C8271

#2C8271 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.086 H 177.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C8271
RGBrgb(44, 130, 113)
HSLhsl(168, 49%, 34%)
HSVhsv(168, 66%, 51%)
CMYKcmyk(66.2%, 0%, 13.1%, 49%)
CIE-LABlab(49.12, -29.85, 1.70)
CIE-LCHlch(49.12, 29.90, 176.74°)
OKLaboklab(55.06% -0.0856 0.004)
OKLCHoklch(55.06% 0.086 177.3)
XYZxyz(12.0006, 17.6917, 18.4020)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8271 #822C3D
analogous
#2C8246 #2C8271 #2C6882
triadic
#2C8271 #712C82 #82712C
tetradic
#2C8271 #462C82 #822C3D #68822C
square
#2C8271 #462C82 #822C3D #68822C
split-complementary
#2C8271 #822C68 #82462C
monochromatic
#0D2722 #1D5449 #2C8271 #3BB099 #5FC9B4

Accessibility & contrast

On white

4.63
#2C8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2C8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8271
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8271#FFFFFF#000000##FFFFFF
##2C82711.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8271;
/* rgb */ color: rgb(44, 130, 113);
/* oklch */ color: oklch(55.1% 0.086 177.3);
Tailwind
colors: {
  custom: {
    50: '#70a799',
    500: '#2c8271',
    950: '#000000',
  },
}
SCSS
$custom: #2c8271;
$custom-light: #70a799;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8271",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 168.14,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.08574,
    "h": 177.3
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#2C8271
secondary
#AF5B6B
accent
#4F6AD9
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2C8271

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

Preview Lab → · Contrast checker → · Palette generator →

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