#0C523A#0C523A

#0C523A is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.078 H 164.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#0C523A
RGBrgb(12, 82, 58)
HSLhsl(159, 74%, 18%)
HSVhsv(159, 85%, 32%)
CMYKcmyk(85.4%, 0%, 29.3%, 67.8%)
CIE-LABlab(30.44, -27.26, 8.29)
CIE-LCHlch(30.44, 28.49, 163.08°)
OKLaboklab(39.09% -0.0747 0.0211)
OKLCHoklch(39.09% 0.078 164.2)
XYZxyz(3.9322, 6.4178, 5.0337)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C523A #520C24
analogous
#0C5217 #0C523A #0C4752
triadic
#0C523A #3A0C52 #523A0C
tetradic
#0C523A #170C52 #520C24 #47520C
square
#0C523A #170C52 #520C24 #47520C
split-complementary
#0C523A #520C47 #52170C
monochromatic
#041B13 #041D14 #0C523A #148760 #1CBD86

Accessibility & contrast

On white

9.20
#0C523A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0C523A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C523A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C523A#FFFFFF#000000##FFFFFF
##0C523A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B39
Deuteranopia (green-blind)
#48453C
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c523a;
/* rgb */ color: rgb(12, 82, 58);
/* oklch */ color: oklch(39.1% 0.078 164.2);
Tailwind
colors: {
  custom: {
    50: '#598370',
    500: '#0c523a',
    950: '#000000',
  },
}
SCSS
$custom: #0c523a;
$custom-light: #598370;
$custom-dark: #000000;
JSON
{
  "hex": "#0c523a",
  "rgb": {
    "r": 12,
    "g": 82,
    "b": 58
  },
  "hsl": {
    "h": 159.429,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.07767,
    "h": 164.2
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#0C523A
secondary
#8D2C4E
accent
#3777F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C523A

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

Preview Lab → · Contrast checker → · Palette generator →

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