#0C5F46#0C5F46

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

Color values

HEX#0C5F46
RGBrgb(12, 95, 70)
HSLhsl(162, 78%, 21%)
HSVhsv(162, 87%, 37%)
CMYKcmyk(87.4%, 0%, 26.3%, 62.7%)
CIE-LABlab(35.41, -29.98, 7.79)
CIE-LCHlch(35.41, 30.98, 165.43°)
OKLaboklab(43.27% -0.0826 0.0199)
OKLCHoklch(43.27% 0.085 166.5)
XYZxyz(5.3487, 8.7041, 7.1913)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F46 #5F0C25
analogous
#0C5F1C #0C5F46 #0C4E5F
triadic
#0C5F46 #460C5F #5F460C
tetradic
#0C5F46 #1C0C5F #5F0C25 #4E5F0C
square
#0C5F46 #1C0C5F #5F0C25 #4E5F0C
split-complementary
#0C5F46 #5F0C4E #5F1C0C
monochromatic
#031B14 #05291E #0C5F46 #13956E #1ACC96

Accessibility & contrast

On white

7.66
#0C5F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#0C5F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F46
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F46#FFFFFF#000000##FFFFFF
##0C5F461.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5845
Deuteranopia (green-blind)
#535048
Tritanopia (blue-blind)
#005F58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f46;
/* rgb */ color: rgb(12, 95, 70);
/* oklch */ color: oklch(43.3% 0.085 166.5);
Tailwind
colors: {
  custom: {
    50: '#5d8d79',
    500: '#0c5f46',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f46;
$custom-light: #5d8d79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f46",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 70
  },
  "hsl": {
    "h": 161.928,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.08499,
    "h": 166.5
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#0C5F46
secondary
#992D4E
accent
#346EF4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F46

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

Preview Lab → · Contrast checker → · Palette generator →

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