#0C5257#0C5257

#0C5257 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.1% C 0.064 H 202.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#0C5257
RGBrgb(12, 82, 87)
HSLhsl(184, 76%, 19%)
HSVhsv(184, 86%, 34%)
CMYKcmyk(86.2%, 5.7%, 0%, 65.9%)
CIE-LABlab(31.35, -18.14, -8.81)
CIE-LCHlch(31.35, 20.17, 205.90°)
OKLaboklab(40.12% -0.0593 -0.0245)
OKLCHoklch(40.12% 0.064 202.5)
XYZxyz(4.8884, 6.8003, 10.0699)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5257 #57110C
analogous
#0C5737 #0C5257 #0C2D57
triadic
#0C5257 #570C52 #52570C
tetradic
#0C5257 #370C57 #57110C #2D570C
square
#0C5257 #370C57 #57110C #2D570C
split-complementary
#0C5257 #570C2D #57370C
monochromatic
#04191B #051F21 #0C5257 #13858D #1BB7C3

Accessibility & contrast

On white

8.90
#0C5257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C5257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5257
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5257#FFFFFF#000000##FFFFFF
##0C52571.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#414757
Tritanopia (blue-blind)
#005653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5257;
/* rgb */ color: rgb(12, 82, 87);
/* oklch */ color: oklch(40.1% 0.064 202.5);
Tailwind
colors: {
  custom: {
    50: '#5b8386',
    500: '#0c5257',
    950: '#000000',
  },
}
SCSS
$custom: #0c5257;
$custom-light: #5b8386;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5257",
  "rgb": {
    "r": 12,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 184,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.06413,
    "h": 202.5
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#0C5257
secondary
#92342D
accent
#4235F2
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0C5257

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

Preview Lab → · Contrast checker → · Palette generator →

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