#0C5439#0C5439

#0C5439 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.082 H 162.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#0C5439
RGBrgb(12, 84, 57)
HSLhsl(158, 75%, 19%)
HSVhsv(158, 86%, 33%)
CMYKcmyk(85.7%, 0%, 32.1%, 67.1%)
CIE-LABlab(31.15, -28.43, 9.90)
CIE-LCHlch(31.15, 30.11, 160.81°)
OKLaboklab(39.66% -0.0775 0.0252)
OKLCHoklch(39.66% 0.082 162)
XYZxyz(4.0600, 6.7137, 4.9520)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5439 #540C27
analogous
#0C5415 #0C5439 #0C4B54
triadic
#0C5439 #390C54 #54390C
tetradic
#0C5439 #150C54 #540C27 #4B540C
square
#0C5439 #150C54 #540C27 #4B540C
split-complementary
#0C5439 #540C4B #54150C
monochromatic
#041B12 #041E15 #0C5439 #148A5D #1BBF82

Accessibility & contrast

On white

8.96
#0C5439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5439
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5439#FFFFFF#000000##FFFFFF
##0C54391.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D37
Deuteranopia (green-blind)
#4A473B
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5439;
/* rgb */ color: rgb(12, 84, 57);
/* oklch */ color: oklch(39.7% 0.082 162.0);
Tailwind
colors: {
  custom: {
    50: '#59856f',
    500: '#0c5439',
    950: '#000000',
  },
}
SCSS
$custom: #0c5439;
$custom-light: #59856f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5439",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 57
  },
  "hsl": {
    "h": 157.5,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.08153,
    "h": 162
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#0C5439
secondary
#8F2D52
accent
#367CF2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5439

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

Preview Lab → · Contrast checker → · Palette generator →

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