#0C5339#0C5339

#0C5339 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.4% C 0.080 H 162.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#0C5339
RGBrgb(12, 83, 57)
HSLhsl(158, 75%, 19%)
HSVhsv(158, 86%, 33%)
CMYKcmyk(85.5%, 0%, 31.3%, 67.5%)
CIE-LABlab(30.78, -27.98, 9.39)
CIE-LCHlch(30.78, 29.51, 161.44°)
OKLaboklab(39.36% -0.0764 0.0239)
OKLCHoklch(39.36% 0.08 162.6)
XYZxyz(3.9830, 6.5596, 4.9263)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5339 #530C26
analogous
#0C5315 #0C5339 #0C4953
triadic
#0C5339 #390C53 #53390C
tetradic
#0C5339 #150C53 #530C26 #49530C
square
#0C5339 #150C53 #530C26 #49530C
split-complementary
#0C5339 #530C49 #53150C
monochromatic
#041B12 #041E14 #0C5339 #14885E #1BBE82

Accessibility & contrast

On white

9.08
#0C5339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0C5339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5339
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5339#FFFFFF#000000##FFFFFF
##0C53391.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#49463B
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5339;
/* rgb */ color: rgb(12, 83, 57);
/* oklch */ color: oklch(39.4% 0.080 162.6);
Tailwind
colors: {
  custom: {
    50: '#59846f',
    500: '#0c5339',
    950: '#000000',
  },
}
SCSS
$custom: #0c5339;
$custom-light: #59846f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5339",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 57
  },
  "hsl": {
    "h": 158.028,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.08008,
    "h": 162.6
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#0C5339
secondary
#8E2D50
accent
#367BF1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5339

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

Preview Lab → · Contrast checker → · Palette generator →

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