#0C513C#0C513C

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

Color values

HEX#0C513C
RGBrgb(12, 81, 60)
HSLhsl(162, 74%, 18%)
HSVhsv(162, 85%, 32%)
CMYKcmyk(85.2%, 0%, 25.9%, 68.2%)
CIE-LABlab(30.13, -26.24, 6.59)
CIE-LCHlch(30.13, 27.06, 165.90°)
OKLaboklab(38.85% -0.0725 0.0168)
OKLCHoklch(38.85% 0.074 166.9)
XYZxyz(3.9092, 6.2888, 5.2819)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513C #510C21
analogous
#0C5119 #0C513C #0C4351
triadic
#0C513C #3C0C51 #513C0C
tetradic
#0C513C #190C51 #510C21 #43510C
square
#0C513C #190C51 #510C21 #43510C
split-complementary
#0C513C #510C43 #51190C
monochromatic
#041B14 #041C15 #0C513C #148663 #1CBC8B

Accessibility & contrast

On white

9.30
#0C513C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C513C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513C#FFFFFF#000000##FFFFFF
##0C513C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c513c;
/* rgb */ color: rgb(12, 81, 60);
/* oklch */ color: oklch(38.8% 0.074 166.9);
Tailwind
colors: {
  custom: {
    50: '#598271',
    500: '#0c513c',
    950: '#000000',
  },
}
SCSS
$custom: #0c513c;
$custom-light: #598271;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513c",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 60
  },
  "hsl": {
    "h": 161.739,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.07442,
    "h": 166.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#0C513C
secondary
#8C2C4A
accent
#3770F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C513C

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

Preview Lab → · Contrast checker → · Palette generator →

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