#0C5532#0C5532

#0C5532 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.8% C 0.090 H 156.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#0C5532
RGBrgb(12, 85, 50)
HSLhsl(151, 75%, 19%)
HSVhsv(151, 86%, 33%)
CMYKcmyk(85.9%, 0%, 41.2%, 66.7%)
CIE-LABlab(31.36, -30.57, 14.50)
CIE-LCHlch(31.36, 33.84, 154.62°)
OKLaboklab(39.78% -0.0825 0.0363)
OKLCHoklch(39.78% 0.09 156.3)
XYZxyz(3.9754, 6.8050, 4.1210)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5532 #550C2F
analogous
#0C550E #0C5532 #0C5455
triadic
#0C5532 #320C55 #55320C
tetradic
#0C5532 #0E0C55 #550C2F #54550C
square
#0C5532 #0E0C55 #550C2F #54550C
split-complementary
#0C5532 #550C54 #550E0C
monochromatic
#041B10 #041F12 #0C5532 #148B52 #1BC071

Accessibility & contrast

On white

8.89
#0C5532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C5532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5532
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5532#FFFFFF#000000##FFFFFF
##0C55321.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D30
Deuteranopia (green-blind)
#4C4734
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5532;
/* rgb */ color: rgb(12, 85, 50);
/* oklch */ color: oklch(39.8% 0.090 156.3);
Tailwind
colors: {
  custom: {
    50: '#59866a',
    500: '#0c5532',
    950: '#000000',
  },
}
SCSS
$custom: #0c5532;
$custom-light: #59866a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5532",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 50
  },
  "hsl": {
    "h": 151.233,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.09011,
    "h": 156.3
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#0C5532
secondary
#902D5C
accent
#3690F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5532

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

Preview Lab → · Contrast checker → · Palette generator →

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