#0C513A#0C513A

#0C513A is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.8% C 0.076 H 164.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#0C513A
RGBrgb(12, 81, 58)
HSLhsl(160, 74%, 18%)
HSVhsv(160, 85%, 32%)
CMYKcmyk(85.2%, 0%, 28.4%, 68.2%)
CIE-LABlab(30.08, -26.79, 7.78)
CIE-LCHlch(30.08, 27.90, 163.80°)
OKLaboklab(38.79% -0.0736 0.0199)
OKLCHoklch(38.79% 0.076 164.9)
XYZxyz(3.8573, 6.2680, 5.0087)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513A #510C23
analogous
#0C5117 #0C513A #0C4551
triadic
#0C513A #3A0C51 #513A0C
tetradic
#0C513A #170C51 #510C23 #45510C
square
#0C513A #170C51 #510C23 #45510C
split-complementary
#0C513A #510C45 #51170C
monochromatic
#041B13 #041C14 #0C513A #148660 #1CBC86

Accessibility & contrast

On white

9.32
#0C513A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0C513A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C513A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513A#FFFFFF#000000##FFFFFF
##0C513A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A39
Deuteranopia (green-blind)
#47443C
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c513a;
/* rgb */ color: rgb(12, 81, 58);
/* oklch */ color: oklch(38.8% 0.076 164.9);
Tailwind
colors: {
  custom: {
    50: '#598270',
    500: '#0c513a',
    950: '#000000',
  },
}
SCSS
$custom: #0c513a;
$custom-light: #598270;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513a",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 58
  },
  "hsl": {
    "h": 160,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.07623,
    "h": 164.9
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#0C513A
secondary
#8C2C4C
accent
#3775F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C513A

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

Preview Lab → · Contrast checker → · Palette generator →

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