#0C513F#0C513F

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

Color values

HEX#0C513F
RGBrgb(12, 81, 63)
HSLhsl(164, 74%, 18%)
HSVhsv(164, 85%, 32%)
CMYKcmyk(85.2%, 0%, 22.2%, 68.2%)
CIE-LABlab(30.21, -25.39, 4.80)
CIE-LCHlch(30.21, 25.84, 169.29°)
OKLaboklab(38.94% -0.0708 0.0123)
OKLCHoklch(38.94% 0.072 170.2)
XYZxyz(3.9908, 6.3214, 5.7115)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C513F #510C1E
analogous
#0C511C #0C513F #0C4051
triadic
#0C513F #3F0C51 #513F0C
tetradic
#0C513F #1C0C51 #510C1E #40510C
square
#0C513F #1C0C51 #510C1E #40510C
split-complementary
#0C513F #510C40 #511C0C
monochromatic
#041B15 #041C16 #0C513F #148668 #1CBC92

Accessibility & contrast

On white

9.27
#0C513F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C513F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C513F#FFFFFF#000000##FFFFFF
##0C513F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3E
Deuteranopia (green-blind)
#464540
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c513f;
/* rgb */ color: rgb(12, 81, 63);
/* oklch */ color: oklch(38.9% 0.072 170.2);
Tailwind
colors: {
  custom: {
    50: '#598274',
    500: '#0c513f',
    950: '#000000',
  },
}
SCSS
$custom: #0c513f;
$custom-light: #598274;
$custom-dark: #000000;
JSON
{
  "hex": "#0c513f",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 63
  },
  "hsl": {
    "h": 164.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.07188,
    "h": 170.2
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#0C513F
secondary
#8C2C45
accent
#3767F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C513F

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

Preview Lab → · Contrast checker → · Palette generator →

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