#0C5F4D#0C5F4D

#0C5F4D is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.5% C 0.079 H 173.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#0C5F4D
RGBrgb(12, 95, 77)
HSLhsl(167, 78%, 21%)
HSVhsv(167, 87%, 37%)
CMYKcmyk(87.4%, 0%, 18.9%, 62.7%)
CIE-LABlab(35.59, -28.02, 3.73)
CIE-LCHlch(35.59, 28.27, 172.41°)
OKLaboklab(43.48% -0.0788 0.0094)
OKLCHoklch(43.48% 0.079 173.2)
XYZxyz(5.5827, 8.7977, 8.4236)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F4D #5F0C1E
analogous
#0C5F23 #0C5F4D #0C475F
triadic
#0C5F4D #4D0C5F #5F4D0C
tetradic
#0C5F4D #230C5F #5F0C1E #475F0C
square
#0C5F4D #230C5F #5F0C1E #475F0C
split-complementary
#0C5F4D #5F0C47 #5F230C
monochromatic
#031B16 #052921 #0C5F4D #139579 #1ACCA5

Accessibility & contrast

On white

7.61
#0C5F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5F4D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F4D#FFFFFF#000000##FFFFFF
##0C5F4D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584C
Deuteranopia (green-blind)
#51514E
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0c5f4d;
/* rgb */ color: rgb(12, 95, 77);
/* oklch */ color: oklch(43.5% 0.079 173.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d7e',
    500: '#0c5f4d',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f4d;
$custom-light: #5d8d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f4d",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 77
  },
  "hsl": {
    "h": 166.988,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.07941,
    "h": 173.2
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#0C5F4D
secondary
#992D45
accent
#345DF4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #0C5F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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