#0C513B#0C513B

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

Color values

HEX#0C513B
RGBrgb(12, 81, 59)
HSLhsl(161, 74%, 18%)
HSVhsv(161, 85%, 32%)
CMYKcmyk(85.2%, 0%, 27.2%, 68.2%)
CIE-LABlab(30.10, -26.52, 7.19)
CIE-LCHlch(30.10, 27.48, 164.83°)
OKLaboklab(38.82% -0.073 0.0184)
OKLCHoklch(38.82% 0.075 165.9)
XYZxyz(3.8830, 6.2783, 5.1440)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513B #510C22
analogous
#0C5118 #0C513B #0C4451
triadic
#0C513B #3B0C51 #513B0C
tetradic
#0C513B #180C51 #510C22 #44510C
square
#0C513B #180C51 #510C22 #44510C
split-complementary
#0C513B #510C44 #51180C
monochromatic
#041B13 #041C14 #0C513B #148662 #1CBC89

Accessibility & contrast

On white

9.31
#0C513B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C513B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513B#FFFFFF#000000##FFFFFF
##0C513B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c513b;
/* rgb */ color: rgb(12, 81, 59);
/* oklch */ color: oklch(38.8% 0.075 165.9);
Tailwind
colors: {
  custom: {
    50: '#598271',
    500: '#0c513b',
    950: '#000000',
  },
}
SCSS
$custom: #0c513b;
$custom-light: #598271;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513b",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 59
  },
  "hsl": {
    "h": 160.87,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.07532,
    "h": 165.9
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#0C513B
secondary
#8C2C4B
accent
#3772F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C513B

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

Preview Lab → · Contrast checker → · Palette generator →

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