#0C5F4C#0C5F4C

#0C5F4C is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.4% C 0.080 H 172.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#0C5F4C
RGBrgb(12, 95, 76)
HSLhsl(166, 78%, 21%)
HSVhsv(166, 87%, 37%)
CMYKcmyk(87.4%, 0%, 20%, 62.7%)
CIE-LABlab(35.56, -28.31, 4.31)
CIE-LCHlch(35.56, 28.64, 171.34°)
OKLaboklab(43.45% -0.0794 0.0109)
OKLCHoklch(43.45% 0.08 172.2)
XYZxyz(5.5476, 8.7837, 8.2391)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F4C #5F0C1F
analogous
#0C5F22 #0C5F4C #0C485F
triadic
#0C5F4C #4C0C5F #5F4C0C
tetradic
#0C5F4C #220C5F #5F0C1F #485F0C
square
#0C5F4C #220C5F #5F0C1F #485F0C
split-complementary
#0C5F4C #5F0C48 #5F220C
monochromatic
#031B16 #052921 #0C5F4C #139577 #1ACCA3

Accessibility & contrast

On white

7.62
#0C5F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#0C5F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F4C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F4C#FFFFFF#000000##FFFFFF
##0C5F4C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C584B
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0c5f4c;
/* rgb */ color: rgb(12, 95, 76);
/* oklch */ color: oklch(43.4% 0.080 172.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d7e',
    500: '#0c5f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f4c;
$custom-light: #5d8d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f4c",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 76
  },
  "hsl": {
    "h": 166.265,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.08014,
    "h": 172.2
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#0C5F4C
secondary
#992D46
accent
#3460F4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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