#0C5F4A#0C5F4A

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

Color values

HEX#0C5F4A
RGBrgb(12, 95, 74)
HSLhsl(165, 78%, 21%)
HSVhsv(165, 87%, 37%)
CMYKcmyk(87.4%, 0%, 22.1%, 62.7%)
CIE-LABlab(35.51, -28.88, 5.47)
CIE-LCHlch(35.51, 29.39, 169.27°)
OKLaboklab(43.39% -0.0805 0.014)
OKLCHoklch(43.39% 0.082 170.2)
XYZxyz(5.4792, 8.7563, 7.8786)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F4A #5F0C21
analogous
#0C5F20 #0C5F4A #0C4A5F
triadic
#0C5F4A #4A0C5F #5F4A0C
tetradic
#0C5F4A #200C5F #5F0C21 #4A5F0C
square
#0C5F4A #200C5F #5F0C21 #4A5F0C
split-complementary
#0C5F4A #5F0C4A #5F200C
monochromatic
#031B15 #052920 #0C5F4A #139574 #1ACC9F

Accessibility & contrast

On white

7.63
#0C5F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5F4A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F4A#FFFFFF#000000##FFFFFF
##0C5F4A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5f4a;
/* rgb */ color: rgb(12, 95, 74);
/* oklch */ color: oklch(43.4% 0.082 170.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d7c',
    500: '#0c5f4a',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f4a;
$custom-light: #5d8d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f4a",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 74
  },
  "hsl": {
    "h": 164.819,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.08167,
    "h": 170.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#0C5F4A
secondary
#992D49
accent
#3464F4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0C5F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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