#0C5A3E#0C5A3E

#0C5A3E is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.085 H 162.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#0C5A3E
RGBrgb(12, 90, 62)
HSLhsl(158, 76%, 20%)
HSVhsv(158, 87%, 35%)
CMYKcmyk(86.7%, 0%, 31.1%, 64.7%)
CIE-LABlab(33.43, -29.84, 9.96)
CIE-LCHlch(33.43, 31.46, 161.55°)
OKLaboklab(41.58% -0.0815 0.0253)
OKLCHoklch(41.58% 0.085 162.7)
XYZxyz(4.6768, 7.7377, 5.8035)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5A3E #5A0C28
analogous
#0C5A17 #0C5A3E #0C4F5A
triadic
#0C5A3E #3E0C5A #5A3E0C
tetradic
#0C5A3E #170C5A #5A0C28 #4F5A0C
square
#0C5A3E #170C5A #5A0C28 #4F5A0C
split-complementary
#0C5A3E #5A0C4F #5A170C
monochromatic
#041B13 #052419 #0C5A3E #139063 #1AC688

Accessibility & contrast

On white

8.24
#0C5A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0C5A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5A3E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5A3E#FFFFFF#000000##FFFFFF
##0C5A3E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533C
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0c5a3e;
/* rgb */ color: rgb(12, 90, 62);
/* oklch */ color: oklch(41.6% 0.085 162.7);
Tailwind
colors: {
  custom: {
    50: '#5b8973',
    500: '#0c5a3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c5a3e;
$custom-light: #5b8973;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5a3e",
  "rgb": {
    "r": 12,
    "g": 90,
    "b": 62
  },
  "hsl": {
    "h": 158.462,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.08533,
    "h": 162.7
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#0C5A3E
secondary
#952D52
accent
#3579F3
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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