#0C5136#0C5136

#0C5136 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.7% C 0.080 H 161.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#0C5136
RGBrgb(12, 81, 54)
HSLhsl(157, 74%, 18%)
HSVhsv(157, 85%, 32%)
CMYKcmyk(85.2%, 0%, 33.3%, 68.2%)
CIE-LABlab(29.98, -27.84, 10.17)
CIE-LCHlch(29.98, 29.64, 159.94°)
OKLaboklab(38.68% -0.0758 0.0258)
OKLCHoklch(38.68% 0.08 161.2)
XYZxyz(3.7595, 6.2289, 4.4935)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5136 #510C27
analogous
#0C5113 #0C5136 #0C4951
triadic
#0C5136 #360C51 #51360C
tetradic
#0C5136 #130C51 #510C27 #49510C
square
#0C5136 #130C51 #510C27 #49510C
split-complementary
#0C5136 #510C49 #51130C
monochromatic
#041B12 #041C12 #0C5136 #14865A #1CBC7D

Accessibility & contrast

On white

9.35
#0C5136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0C5136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5136
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5136#FFFFFF#000000##FFFFFF
##0C51361.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A34
Deuteranopia (green-blind)
#474438
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c5136;
/* rgb */ color: rgb(12, 81, 54);
/* oklch */ color: oklch(38.7% 0.080 161.2);
Tailwind
colors: {
  custom: {
    50: '#58826d',
    500: '#0c5136',
    950: '#000000',
  },
}
SCSS
$custom: #0c5136;
$custom-light: #58826d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5136",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 54
  },
  "hsl": {
    "h": 156.522,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.08009,
    "h": 161.2
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#0C5136
secondary
#8C2C52
accent
#3780F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C5136

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

Preview Lab → · Contrast checker → · Palette generator →

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