#0C4F39#0C4F39

#0C4F39 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.2% C 0.074 H 165.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#0C4F39
RGBrgb(12, 79, 57)
HSLhsl(160, 74%, 18%)
HSVhsv(160, 85%, 31%)
CMYKcmyk(84.8%, 0%, 27.8%, 69%)
CIE-LABlab(29.32, -26.13, 7.36)
CIE-LCHlch(29.32, 27.14, 164.27°)
OKLaboklab(38.16% -0.0719 0.0188)
OKLCHoklch(38.16% 0.074 165.4)
XYZxyz(3.6857, 5.9651, 4.8272)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F39 #4F0C22
analogous
#0C4F18 #0C4F39 #0C434F
triadic
#0C4F39 #390C4F #4F390C
tetradic
#0C4F39 #180C4F #4F0C22 #434F0C
square
#0C4F39 #180C4F #4F0C22 #434F0C
split-complementary
#0C4F39 #4F0C43 #4F180C
monochromatic
#041B13 #041B13 #0C4F39 #14845F #1CB986

Accessibility & contrast

On white

9.58
#0C4F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0C4F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F39
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F39#FFFFFF#000000##FFFFFF
##0C4F391.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#45433A
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4f39;
/* rgb */ color: rgb(12, 79, 57);
/* oklch */ color: oklch(38.2% 0.074 165.4);
Tailwind
colors: {
  custom: {
    50: '#58816f',
    500: '#0c4f39',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f39;
$custom-light: #58816f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f39",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 57
  },
  "hsl": {
    "h": 160.299,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.0743,
    "h": 165.4
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#0C4F39
secondary
#8B2C4B
accent
#3874F0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4F39

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

Preview Lab → · Contrast checker → · Palette generator →

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