#0C563F#0C563F

#0C563F is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.4% C 0.079 H 166.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#0C563F
RGBrgb(12, 86, 63)
HSLhsl(161, 76%, 19%)
HSVhsv(161, 86%, 34%)
CMYKcmyk(86%, 0%, 26.7%, 66.3%)
CIE-LABlab(32.02, -27.76, 7.36)
CIE-LCHlch(32.02, 28.72, 165.15°)
OKLaboklab(40.42% -0.0765 0.0188)
OKLCHoklch(40.42% 0.079 166.2)
XYZxyz(4.3761, 7.0921, 5.8399)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C563F #560C23
analogous
#0C561A #0C563F #0C4856
triadic
#0C563F #3F0C56 #563F0C
tetradic
#0C563F #1A0C56 #560C23 #48560C
square
#0C563F #1A0C56 #560C23 #48560C
split-complementary
#0C563F #560C48 #561A0C
monochromatic
#041B14 #052018 #0C563F #138C66 #1BC18E

Accessibility & contrast

On white

8.68
#0C563F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0C563F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C563F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C563F#FFFFFF#000000##FFFFFF
##0C563F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F3E
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#005650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c563f;
/* rgb */ color: rgb(12, 86, 63);
/* oklch */ color: oklch(40.4% 0.079 166.2);
Tailwind
colors: {
  custom: {
    50: '#5a8674',
    500: '#0c563f',
    950: '#000000',
  },
}
SCSS
$custom: #0c563f;
$custom-light: #5a8674;
$custom-dark: #000000;
JSON
{
  "hex": "#0c563f",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 63
  },
  "hsl": {
    "h": 161.351,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.07877,
    "h": 166.2
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#0C563F
secondary
#912D4C
accent
#3670F2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C563F

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

Preview Lab → · Contrast checker → · Palette generator →

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