#0C513D#0C513D

#0C513D is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.9% C 0.074 H 168.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#0C513D
RGBrgb(12, 81, 61)
HSLhsl(163, 74%, 18%)
HSVhsv(163, 85%, 32%)
CMYKcmyk(85.2%, 0%, 24.7%, 68.2%)
CIE-LABlab(30.16, -25.96, 6.00)
CIE-LCHlch(30.16, 26.65, 167.00°)
OKLaboklab(38.88% -0.0719 0.0153)
OKLCHoklch(38.88% 0.074 168)
XYZxyz(3.9359, 6.2995, 5.4225)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513D #510C20
analogous
#0C511A #0C513D #0C4251
triadic
#0C513D #3D0C51 #513D0C
tetradic
#0C513D #1A0C51 #510C20 #42510C
square
#0C513D #1A0C51 #510C20 #42510C
split-complementary
#0C513D #510C42 #511A0C
monochromatic
#041B14 #041C15 #0C513D #148665 #1CBC8D

Accessibility & contrast

On white

9.29
#0C513D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0C513D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C513D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513D#FFFFFF#000000##FFFFFF
##0C513D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3C
Deuteranopia (green-blind)
#46443E
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c513d;
/* rgb */ color: rgb(12, 81, 61);
/* oklch */ color: oklch(38.9% 0.074 168.0);
Tailwind
colors: {
  custom: {
    50: '#598272',
    500: '#0c513d',
    950: '#000000',
  },
}
SCSS
$custom: #0c513d;
$custom-light: #598272;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513d",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 61
  },
  "hsl": {
    "h": 162.609,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.07355,
    "h": 168
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#0C513D
secondary
#8C2C48
accent
#376DF1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C513D

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

Preview Lab → · Contrast checker → · Palette generator →

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