#2C815E#2C815E

#2C815E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.2% C 0.099 H 162.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C815E
RGBrgb(44, 129, 94)
HSLhsl(155, 49%, 34%)
HSVhsv(155, 66%, 51%)
CMYKcmyk(65.9%, 0%, 27.1%, 49.4%)
CIE-LABlab(48.31, -34.23, 11.65)
CIE-LCHlch(48.31, 36.16, 161.21°)
OKLaboklab(54.24% -0.094 0.0297)
OKLCHoklch(54.24% 0.099 162.5)
XYZxyz(10.9083, 17.0430, 13.3023)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C815E #812C4F
analogous
#2C8134 #2C815E #2C7A81
triadic
#2C815E #5E2C81 #815E2C
tetradic
#2C815E #342C81 #812C4F #7A812C
square
#2C815E #342C81 #812C4F #7A812C
split-complementary
#2C815E #812C7A #81342C
monochromatic
#0D261B #1C533D #2C815E #3CAF7F #5FC89D

Accessibility & contrast

On white

4.76
#2C815E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C815E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C815E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C815E#FFFFFF#000000##FFFFFF
##2C815E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785C
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c815e;
/* rgb */ color: rgb(44, 129, 94);
/* oklch */ color: oklch(54.2% 0.099 162.5);
Tailwind
colors: {
  custom: {
    50: '#6fa68b',
    500: '#2c815e',
    950: '#000000',
  },
}
SCSS
$custom: #2c815e;
$custom-light: #6fa68b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c815e",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 155.294,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.09862,
    "h": 162.5
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#2C815E
secondary
#AF5A7D
accent
#4F88D9
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2C815E

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

Preview Lab → · Contrast checker → · Palette generator →

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