#2C5145#2C5145

#2C5145 is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.3% C 0.048 H 170.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2C5145
RGBrgb(44, 81, 69)
HSLhsl(161, 30%, 25%)
HSVhsv(161, 46%, 32%)
CMYKcmyk(45.7%, 0%, 14.8%, 68.2%)
CIE-LABlab(31.46, -16.55, 2.93)
CIE-LCHlch(31.46, 16.81, 169.95°)
OKLaboklab(40.32% -0.047 0.0075)
OKLCHoklch(40.32% 0.048 170.9)
XYZxyz(5.0549, 6.8496, 6.6848)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5145 #512C38
analogous
#2C5133 #2C5145 #2C4B51
triadic
#2C5145 #452C51 #51452C
tetradic
#2C5145 #332C51 #512C38 #4B512C
square
#2C5145 #332C51 #512C38 #4B512C
split-complementary
#2C5145 #512C4B #51332C
monochromatic
#0B1411 #162923 #2C5145 #427967 #57A089

Accessibility & contrast

On white

8.86
#2C5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5145
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5145#FFFFFF#000000##FFFFFF
##2C51451.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D44
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#20524D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5145;
/* rgb */ color: rgb(44, 81, 69);
/* oklch */ color: oklch(40.3% 0.048 170.9);
Tailwind
colors: {
  custom: {
    50: '#678278',
    500: '#2c5145',
    950: '#000000',
  },
}
SCSS
$custom: #2c5145;
$custom-light: #678278;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5145",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 160.541,
    "s": 29.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.04761,
    "h": 170.9
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#2C5145
secondary
#835665
accent
#6282C6
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2C5145

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

Preview Lab → · Contrast checker → · Palette generator →

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