#0C5151#0C5151

#0C5151 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.063 H 194.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#0C5151
RGBrgb(12, 81, 81)
HSLhsl(180, 74%, 18%)
HSVhsv(180, 85%, 32%)
CMYKcmyk(85.2%, 0%, 0%, 68.2%)
CIE-LABlab(30.78, -19.69, -5.85)
CIE-LCHlch(30.78, 20.54, 196.54°)
OKLaboklab(39.59% -0.0612 -0.0163)
OKLCHoklch(39.59% 0.063 194.9)
XYZxyz(4.5786, 6.5565, 8.8072)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5151 #510C0C
analogous
#0C512E #0C5151 #0C2E51
triadic
#0C5151 #510C51 #51510C
tetradic
#0C5151 #2E0C51 #510C0C #2E510C
square
#0C5151 #2E0C51 #510C0C #2E510C
split-complementary
#0C5151 #510C2E #512E0C
monochromatic
#041B1B #041C1C #0C5151 #148686 #1CBCBC

Accessibility & contrast

On white

9.09
#0C5151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0C5151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5151
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5151#FFFFFF#000000##FFFFFF
##0C51511.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D51
Deuteranopia (green-blind)
#414551
Tritanopia (blue-blind)
#005451
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5151;
/* rgb */ color: rgb(12, 81, 81);
/* oklch */ color: oklch(39.6% 0.063 194.9);
Tailwind
colors: {
  custom: {
    50: '#5a8281',
    500: '#0c5151',
    950: '#000000',
  },
}
SCSS
$custom: #0c5151;
$custom-light: #5a8281;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5151",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.0633,
    "h": 194.9
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#0C5151
secondary
#8C2C2C
accent
#3737F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C5151

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

Preview Lab → · Contrast checker → · Palette generator →

#0C5151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva