#0C5F49#0C5F49

#0C5F49 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.4% C 0.082 H 169.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#0C5F49
RGBrgb(12, 95, 73)
HSLhsl(164, 78%, 21%)
HSVhsv(164, 87%, 37%)
CMYKcmyk(87.4%, 0%, 23.2%, 62.7%)
CIE-LABlab(35.48, -29.16, 6.05)
CIE-LCHlch(35.48, 29.78, 168.28°)
OKLaboklab(43.36% -0.081 0.0155)
OKLCHoklch(43.36% 0.082 169.2)
XYZxyz(5.4458, 8.7429, 7.7026)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F49 #5F0C22
analogous
#0C5F1F #0C5F49 #0C4B5F
triadic
#0C5F49 #490C5F #5F490C
tetradic
#0C5F49 #1F0C5F #5F0C22 #4B5F0C
square
#0C5F49 #1F0C5F #5F0C22 #4B5F0C
split-complementary
#0C5F49 #5F0C4B #5F1F0C
monochromatic
#031B15 #05291F #0C5F49 #139573 #1ACC9D

Accessibility & contrast

On white

7.64
#0C5F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#0C5F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F49
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F49#FFFFFF#000000##FFFFFF
##0C5F491.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5848
Deuteranopia (green-blind)
#52504B
Tritanopia (blue-blind)
#006059
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f49;
/* rgb */ color: rgb(12, 95, 73);
/* oklch */ color: oklch(43.4% 0.082 169.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d7b',
    500: '#0c5f49',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f49;
$custom-light: #5d8d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f49",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 73
  },
  "hsl": {
    "h": 164.096,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.08247,
    "h": 169.2
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#0C5F49
secondary
#992D4A
accent
#3467F4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F49

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

Preview Lab → · Contrast checker → · Palette generator →

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