#0C5039#0C5039

#0C5039 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.5% C 0.076 H 164.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#0C5039
RGBrgb(12, 80, 57)
HSLhsl(160, 74%, 18%)
HSVhsv(160, 85%, 31%)
CMYKcmyk(85%, 0%, 28.8%, 68.6%)
CIE-LABlab(29.69, -26.59, 7.87)
CIE-LCHlch(29.69, 27.73, 163.51°)
OKLaboklab(38.46% -0.073 0.0201)
OKLCHoklch(38.46% 0.076 164.6)
XYZxyz(3.7584, 6.1104, 4.8515)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5039 #500C23
analogous
#0C5017 #0C5039 #0C4550
triadic
#0C5039 #390C50 #50390C
tetradic
#0C5039 #170C50 #500C23 #45500C
square
#0C5039 #170C50 #500C23 #45500C
split-complementary
#0C5039 #500C45 #50170C
monochromatic
#041B13 #041B13 #0C5039 #14855F #1CBA85

Accessibility & contrast

On white

9.45
#0C5039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0C5039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5039
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5039#FFFFFF#000000##FFFFFF
##0C50391.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A38
Deuteranopia (green-blind)
#46433B
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5039;
/* rgb */ color: rgb(12, 80, 57);
/* oklch */ color: oklch(38.5% 0.076 164.6);
Tailwind
colors: {
  custom: {
    50: '#58826f',
    500: '#0c5039',
    950: '#000000',
  },
}
SCSS
$custom: #0c5039;
$custom-light: #58826f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5039",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 57
  },
  "hsl": {
    "h": 159.706,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.07573,
    "h": 164.6
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#0C5039
secondary
#8B2C4D
accent
#3776F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C5039

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

Preview Lab → · Contrast checker → · Palette generator →

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