#0C5132#0C5132

#0C5132 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.6% C 0.084 H 158.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#0C5132
RGBrgb(12, 81, 50)
HSLhsl(153, 74%, 18%)
HSVhsv(153, 85%, 32%)
CMYKcmyk(85.2%, 0%, 38.3%, 68.2%)
CIE-LABlab(29.89, -28.83, 12.54)
CIE-LCHlch(29.89, 31.44, 156.50°)
OKLaboklab(38.57% -0.078 0.0316)
OKLCHoklch(38.57% 0.084 158)
XYZxyz(3.6694, 6.1929, 4.0189)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5132 #510C2B
analogous
#0C510F #0C5132 #0C4D51
triadic
#0C5132 #320C51 #51320C
tetradic
#0C5132 #0F0C51 #510C2B #4D510C
square
#0C5132 #0F0C51 #510C2B #4D510C
split-complementary
#0C5132 #510C4D #510F0C
monochromatic
#041B10 #041C11 #0C5132 #148653 #1CBC74

Accessibility & contrast

On white

9.38
#0C5132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0C5132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5132
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5132#FFFFFF#000000##FFFFFF
##0C51321.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#484434
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5132;
/* rgb */ color: rgb(12, 81, 50);
/* oklch */ color: oklch(38.6% 0.084 158.0);
Tailwind
colors: {
  custom: {
    50: '#58826a',
    500: '#0c5132',
    950: '#000000',
  },
}
SCSS
$custom: #0c5132;
$custom-light: #58826a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5132",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 50
  },
  "hsl": {
    "h": 153.043,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.08417,
    "h": 158
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#0C5132
secondary
#8C2C58
accent
#378AF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5132

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

Preview Lab → · Contrast checker → · Palette generator →

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