#0C5F48#0C5F48

#0C5F48 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.3% C 0.083 H 168.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#0C5F48
RGBrgb(12, 95, 72)
HSLhsl(163, 78%, 21%)
HSVhsv(163, 87%, 37%)
CMYKcmyk(87.4%, 0%, 24.2%, 62.7%)
CIE-LABlab(35.46, -29.44, 6.63)
CIE-LCHlch(35.46, 30.17, 167.31°)
OKLaboklab(43.33% -0.0815 0.0169)
OKLCHoklch(43.33% 0.083 168.3)
XYZxyz(5.4129, 8.7298, 7.5294)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F48 #5F0C23
analogous
#0C5F1E #0C5F48 #0C4C5F
triadic
#0C5F48 #480C5F #5F480C
tetradic
#0C5F48 #1E0C5F #5F0C23 #4C5F0C
square
#0C5F48 #1E0C5F #5F0C23 #4C5F0C
split-complementary
#0C5F48 #5F0C4C #5F1E0C
monochromatic
#031B15 #05291F #0C5F48 #139571 #1ACC9A

Accessibility & contrast

On white

7.65
#0C5F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5F48
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F48#FFFFFF#000000##FFFFFF
##0C5F481.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5847
Deuteranopia (green-blind)
#52504A
Tritanopia (blue-blind)
#006059
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f48;
/* rgb */ color: rgb(12, 95, 72);
/* oklch */ color: oklch(43.3% 0.083 168.3);
Tailwind
colors: {
  custom: {
    50: '#5d8d7b',
    500: '#0c5f48',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f48;
$custom-light: #5d8d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f48",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 72
  },
  "hsl": {
    "h": 163.373,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.08329,
    "h": 168.3
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#0C5F48
secondary
#992D4B
accent
#3469F4
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F48

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

Preview Lab → · Contrast checker → · Palette generator →

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