#0C5334#0C5334

#0C5334 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.2% C 0.085 H 158.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#0C5334
RGBrgb(12, 83, 52)
HSLhsl(154, 75%, 19%)
HSVhsv(154, 86%, 33%)
CMYKcmyk(85.5%, 0%, 37.3%, 67.5%)
CIE-LABlab(30.67, -29.23, 12.35)
CIE-LCHlch(30.67, 31.73, 157.10°)
OKLaboklab(39.23% -0.0792 0.0311)
OKLCHoklch(39.23% 0.085 158.5)
XYZxyz(3.8643, 6.5121, 4.3015)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5334 #530C2B
analogous
#0C5310 #0C5334 #0C4E53
triadic
#0C5334 #340C53 #53340C
tetradic
#0C5334 #100C53 #530C2B #4E530C
square
#0C5334 #100C53 #530C2B #4E530C
split-complementary
#0C5334 #530C4E #53100C
monochromatic
#041B11 #041E12 #0C5334 #148855 #1BBE77

Accessibility & contrast

On white

9.12
#0C5334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0C5334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5334
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5334#FFFFFF#000000##FFFFFF
##0C53341.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C32
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5334;
/* rgb */ color: rgb(12, 83, 52);
/* oklch */ color: oklch(39.2% 0.085 158.5);
Tailwind
colors: {
  custom: {
    50: '#59846b',
    500: '#0c5334',
    950: '#000000',
  },
}
SCSS
$custom: #0c5334;
$custom-light: #59846b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5334",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 153.803,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.08508,
    "h": 158.5
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#0C5334
secondary
#8E2D57
accent
#3688F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5334

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

Preview Lab → · Contrast checker → · Palette generator →

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