#0C5F47#0C5F47

#0C5F47 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.3% C 0.084 H 167.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#0C5F47
RGBrgb(12, 95, 71)
HSLhsl(163, 78%, 21%)
HSVhsv(163, 87%, 37%)
CMYKcmyk(87.4%, 0%, 25.3%, 62.7%)
CIE-LABlab(35.43, -29.71, 7.21)
CIE-LCHlch(35.43, 30.57, 166.36°)
OKLaboklab(43.3% -0.0821 0.0184)
OKLCHoklch(43.3% 0.084 167.4)
XYZxyz(5.3805, 8.7168, 7.3590)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F47 #5F0C24
analogous
#0C5F1E #0C5F47 #0C4D5F
triadic
#0C5F47 #470C5F #5F470C
tetradic
#0C5F47 #1E0C5F #5F0C24 #4D5F0C
square
#0C5F47 #1E0C5F #5F0C24 #4D5F0C
split-complementary
#0C5F47 #5F0C4D #5F1E0C
monochromatic
#031B14 #05291E #0C5F47 #139570 #1ACC98

Accessibility & contrast

On white

7.65
#0C5F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#0C5F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F47
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F47#FFFFFF#000000##FFFFFF
##0C5F471.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5846
Deuteranopia (green-blind)
#535049
Tritanopia (blue-blind)
#005F58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f47;
/* rgb */ color: rgb(12, 95, 71);
/* oklch */ color: oklch(43.3% 0.084 167.4);
Tailwind
colors: {
  custom: {
    50: '#5d8d7a',
    500: '#0c5f47',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f47;
$custom-light: #5d8d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f47",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 71
  },
  "hsl": {
    "h": 162.651,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.08413,
    "h": 167.4
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#0C5F47
secondary
#992D4D
accent
#346BF4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F47

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

Preview Lab → · Contrast checker → · Palette generator →

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