#0C5332#0C5332

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

Color values

HEX#0C5332
RGBrgb(12, 83, 50)
HSLhsl(152, 75%, 19%)
HSVhsv(152, 86%, 33%)
CMYKcmyk(85.5%, 0%, 39.8%, 67.5%)
CIE-LABlab(30.63, -29.71, 13.52)
CIE-LCHlch(30.63, 32.64, 155.52°)
OKLaboklab(39.18% -0.0803 0.0339)
OKLCHoklch(39.18% 0.087 157.1)
XYZxyz(3.8202, 6.4945, 4.0692)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5332 #530C2D
analogous
#0C530E #0C5332 #0C5053
triadic
#0C5332 #320C53 #53320C
tetradic
#0C5332 #0E0C53 #530C2D #50530C
square
#0C5332 #0E0C53 #530C2D #50530C
split-complementary
#0C5332 #530C50 #530E0C
monochromatic
#041B10 #041E12 #0C5332 #148852 #1BBE72

Accessibility & contrast

On white

9.13
#0C5332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5332
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5332#FFFFFF#000000##FFFFFF
##0C53321.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5332;
/* rgb */ color: rgb(12, 83, 50);
/* oklch */ color: oklch(39.2% 0.087 157.1);
Tailwind
colors: {
  custom: {
    50: '#59846a',
    500: '#0c5332',
    950: '#000000',
  },
}
SCSS
$custom: #0c5332;
$custom-light: #59846a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5332",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 50
  },
  "hsl": {
    "h": 152.113,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39178,
    "c": 0.08714,
    "h": 157.1
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#0C5332
secondary
#8E2D5A
accent
#368DF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5332

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

Preview Lab → · Contrast checker → · Palette generator →

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