#0C5341#0C5341

#0C5341 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.073 H 170.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0C5341
RGBrgb(12, 83, 65)
HSLhsl(165, 75%, 19%)
HSVhsv(165, 86%, 33%)
CMYKcmyk(85.5%, 0%, 21.7%, 67.5%)
CIE-LABlab(30.99, -25.78, 4.64)
CIE-LCHlch(30.99, 26.20, 169.79°)
OKLaboklab(39.59% -0.072 0.0118)
OKLCHoklch(39.59% 0.073 170.7)
XYZxyz(4.1985, 6.6458, 6.0615)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5341 #530C1E
analogous
#0C531D #0C5341 #0C4153
triadic
#0C5341 #410C53 #53410C
tetradic
#0C5341 #1D0C53 #530C1E #41530C
square
#0C5341 #1D0C53 #530C1E #41530C
split-complementary
#0C5341 #530C41 #531D0C
monochromatic
#041B15 #041E17 #0C5341 #14886B #1BBE95

Accessibility & contrast

On white

9.02
#0C5341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C5341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5341
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5341#FFFFFF#000000##FFFFFF
##0C53411.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D40
Deuteranopia (green-blind)
#474642
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5341;
/* rgb */ color: rgb(12, 83, 65);
/* oklch */ color: oklch(39.6% 0.073 170.7);
Tailwind
colors: {
  custom: {
    50: '#598475',
    500: '#0c5341',
    950: '#000000',
  },
}
SCSS
$custom: #0c5341;
$custom-light: #598475;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5341",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 65
  },
  "hsl": {
    "h": 164.789,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.07297,
    "h": 170.7
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#0C5341
secondary
#8E2D45
accent
#3666F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5341

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

Preview Lab → · Contrast checker → · Palette generator →

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