#0C523B#0C523B

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

Color values

HEX#0C523B
RGBrgb(12, 82, 59)
HSLhsl(160, 74%, 18%)
HSVhsv(160, 85%, 32%)
CMYKcmyk(85.4%, 0%, 28%, 67.8%)
CIE-LABlab(30.47, -26.99, 7.70)
CIE-LCHlch(30.47, 28.06, 164.08°)
OKLaboklab(39.11% -0.0742 0.0197)
OKLCHoklch(39.11% 0.077 165.2)
XYZxyz(3.9579, 6.4280, 5.1690)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C523B #520C23
analogous
#0C5218 #0C523B #0C4652
triadic
#0C523B #3B0C52 #523B0C
tetradic
#0C523B #180C52 #520C23 #46520C
square
#0C523B #180C52 #520C23 #46520C
split-complementary
#0C523B #520C46 #52180C
monochromatic
#041B13 #041D15 #0C523B #148761 #1CBD88

Accessibility & contrast

On white

9.19
#0C523B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C523B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C523B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C523B#FFFFFF#000000##FFFFFF
##0C523B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c523b;
/* rgb */ color: rgb(12, 82, 59);
/* oklch */ color: oklch(39.1% 0.077 165.2);
Tailwind
colors: {
  custom: {
    50: '#598371',
    500: '#0c523b',
    950: '#000000',
  },
}
SCSS
$custom: #0c523b;
$custom-light: #598371;
$custom-dark: #000000;
JSON
{
  "hex": "#0c523b",
  "rgb": {
    "r": 12,
    "g": 82,
    "b": 59
  },
  "hsl": {
    "h": 160.286,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.07675,
    "h": 165.2
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#0C523B
secondary
#8D2C4C
accent
#3774F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C523B

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

Preview Lab → · Contrast checker → · Palette generator →

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