#0C5F41#0C5F41

#0C5F41 is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.090 H 162.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#0C5F41
RGBrgb(12, 95, 65)
HSLhsl(158, 78%, 21%)
HSVhsv(158, 87%, 37%)
CMYKcmyk(87.4%, 0%, 31.6%, 62.7%)
CIE-LABlab(35.29, -31.29, 10.69)
CIE-LCHlch(35.29, 33.07, 161.14°)
OKLaboklab(43.13% -0.0853 0.0272)
OKLCHoklch(43.13% 0.09 162.3)
XYZxyz(5.1974, 8.6436, 6.3945)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F41 #5F0C2A
analogous
#0C5F17 #0C5F41 #0C535F
triadic
#0C5F41 #410C5F #5F410C
tetradic
#0C5F41 #170C5F #5F0C2A #535F0C
square
#0C5F41 #170C5F #5F0C2A #535F0C
split-complementary
#0C5F41 #5F0C53 #5F170C
monochromatic
#031B13 #05291C #0C5F41 #139566 #1ACC8B

Accessibility & contrast

On white

7.70
#0C5F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#0C5F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F41
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F41#FFFFFF#000000##FFFFFF
##0C5F411.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#545043
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f41;
/* rgb */ color: rgb(12, 95, 65);
/* oklch */ color: oklch(43.1% 0.090 162.3);
Tailwind
colors: {
  custom: {
    50: '#5c8d75',
    500: '#0c5f41',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f41;
$custom-light: #5c8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f41",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 65
  },
  "hsl": {
    "h": 158.313,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.08956,
    "h": 162.3
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#0C5F41
secondary
#992D54
accent
#3479F4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5F41

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

Preview Lab → · Contrast checker → · Palette generator →

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