#0C5438#0C5438

#0C5438 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.6% C 0.083 H 161.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#0C5438
RGBrgb(12, 84, 56)
HSLhsl(157, 75%, 19%)
HSVhsv(157, 86%, 33%)
CMYKcmyk(85.7%, 0%, 33.3%, 67.1%)
CIE-LABlab(31.12, -28.69, 10.49)
CIE-LCHlch(31.12, 30.54, 159.92°)
OKLaboklab(39.63% -0.0781 0.0266)
OKLCHoklch(39.63% 0.083 161.2)
XYZxyz(4.0353, 6.7038, 4.8219)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5438 #540C28
analogous
#0C5414 #0C5438 #0C4C54
triadic
#0C5438 #380C54 #54380C
tetradic
#0C5438 #140C54 #540C28 #4C540C
square
#0C5438 #140C54 #540C28 #4C540C
split-complementary
#0C5438 #540C4C #54140C
monochromatic
#041B12 #041E14 #0C5438 #148A5C #1BBF7F

Accessibility & contrast

On white

8.97
#0C5438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5438
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5438#FFFFFF#000000##FFFFFF
##0C54381.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5438;
/* rgb */ color: rgb(12, 84, 56);
/* oklch */ color: oklch(39.6% 0.083 161.2);
Tailwind
colors: {
  custom: {
    50: '#59856e',
    500: '#0c5438',
    950: '#000000',
  },
}
SCSS
$custom: #0c5438;
$custom-light: #59856e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5438",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 56
  },
  "hsl": {
    "h": 156.667,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.08251,
    "h": 161.2
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#0C5438
secondary
#8F2D53
accent
#367FF2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5438

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

Preview Lab → · Contrast checker → · Palette generator →

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