#0C513E#0C513E

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

Color values

HEX#0C513E
RGBrgb(12, 81, 62)
HSLhsl(163, 74%, 18%)
HSVhsv(163, 85%, 32%)
CMYKcmyk(85.2%, 0%, 23.5%, 68.2%)
CIE-LABlab(30.18, -25.68, 5.40)
CIE-LCHlch(30.18, 26.24, 168.12°)
OKLaboklab(38.91% -0.0714 0.0138)
OKLCHoklch(38.91% 0.073 169.1)
XYZxyz(3.9631, 6.3103, 5.5656)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513E #510C1F
analogous
#0C511B #0C513E #0C4151
triadic
#0C513E #3E0C51 #513E0C
tetradic
#0C513E #1B0C51 #510C1F #41510C
square
#0C513E #1B0C51 #510C1F #41510C
split-complementary
#0C513E #510C41 #511B0C
monochromatic
#041B14 #041C15 #0C513E #148667 #1CBC90

Accessibility & contrast

On white

9.28
#0C513E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C513E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513E#FFFFFF#000000##FFFFFF
##0C513E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3D
Deuteranopia (green-blind)
#46443F
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c513e;
/* rgb */ color: rgb(12, 81, 62);
/* oklch */ color: oklch(38.9% 0.073 169.1);
Tailwind
colors: {
  custom: {
    50: '#598273',
    500: '#0c513e',
    950: '#000000',
  },
}
SCSS
$custom: #0c513e;
$custom-light: #598273;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513e",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 62
  },
  "hsl": {
    "h": 163.478,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.0727,
    "h": 169.1
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#0C513E
secondary
#8C2C47
accent
#376AF1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C513E

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

Preview Lab → · Contrast checker → · Palette generator →

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