#2C6151#2C6151

#2C6151 is a mid, moderate teal. Relative luminance 0.097; OKLCH L 45.1% C 0.063 H 171.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2C6151
RGBrgb(44, 97, 81)
HSLhsl(162, 38%, 28%)
HSVhsv(162, 55%, 38%)
CMYKcmyk(54.6%, 0%, 16.5%, 62%)
CIE-LABlab(37.26, -22.02, 3.77)
CIE-LCHlch(37.26, 22.34, 170.29°)
OKLaboklab(45.12% -0.0623 0.0096)
OKLCHoklch(45.12% 0.063 171.2)
XYZxyz(6.7979, 9.6783, 9.2929)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6151 #612C3C
analogous
#2C6136 #2C6151 #2C5661
triadic
#2C6151 #512C61 #61512C
tetradic
#2C6151 #362C61 #612C3C #56612C
square
#2C6151 #362C61 #612C3C #56612C
split-complementary
#2C6151 #612C56 #61362C
monochromatic
#0A1512 #19372E #2C6151 #3F8B74 #55B296

Accessibility & contrast

On white

7.15
#2C6151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C6151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6151
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6151#FFFFFF#000000##FFFFFF
##2C61511.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B50
Deuteranopia (green-blind)
#565552
Tritanopia (blue-blind)
#15625C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6151;
/* rgb */ color: rgb(44, 97, 81);
/* oklch */ color: oklch(45.1% 0.063 171.2);
Tailwind
colors: {
  custom: {
    50: '#6a8e81',
    500: '#2c6151',
    950: '#000000',
  },
}
SCSS
$custom: #2c6151;
$custom-light: #6a8e81;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6151",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 81
  },
  "hsl": {
    "h": 161.887,
    "s": 37.589,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.06302,
    "h": 171.2
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#2C6151
secondary
#935668
accent
#5A7DCE
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #2C6151

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

Preview Lab → · Contrast checker → · Palette generator →

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