#0C5F4B#0C5F4B

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

Color values

HEX#0C5F4B
RGBrgb(12, 95, 75)
HSLhsl(166, 78%, 21%)
HSVhsv(166, 87%, 37%)
CMYKcmyk(87.4%, 0%, 21.1%, 62.7%)
CIE-LABlab(35.54, -28.60, 4.89)
CIE-LCHlch(35.54, 29.01, 170.29°)
OKLaboklab(43.42% -0.0799 0.0124)
OKLCHoklch(43.42% 0.081 171.1)
XYZxyz(5.5131, 8.7699, 8.0574)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F4B #5F0C20
analogous
#0C5F21 #0C5F4B #0C495F
triadic
#0C5F4B #4B0C5F #5F4B0C
tetradic
#0C5F4B #210C5F #5F0C20 #495F0C
square
#0C5F4B #210C5F #5F0C20 #495F0C
split-complementary
#0C5F4B #5F0C49 #5F210C
monochromatic
#031B15 #052920 #0C5F4B #139576 #1ACCA1

Accessibility & contrast

On white

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

On black

2.75
#0C5F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C5F4B#FFFFFF#000000##FFFFFF
##0C5F4B1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C584A
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#006059
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0c5f4b;
/* rgb */ color: rgb(12, 95, 75);
/* oklch */ color: oklch(43.4% 0.081 171.1);
Tailwind
colors: {
  custom: {
    50: '#5d8d7d',
    500: '#0c5f4b',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f4b;
$custom-light: #5d8d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f4b",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 75
  },
  "hsl": {
    "h": 165.542,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.08089,
    "h": 171.1
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#0C5F4B
secondary
#992D47
accent
#3462F4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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