#0C271B#0C271B

#0C271B is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.041 H 162.0°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#0C271B
RGBrgb(12, 39, 27)
HSLhsl(153, 53%, 10%)
HSVhsv(153, 69%, 15%)
CMYKcmyk(69.2%, 0%, 30.8%, 84.7%)
CIE-LABlab(13.28, -13.98, 4.88)
CIE-LCHlch(13.28, 14.80, 160.74°)
OKLaboklab(24.75% -0.0385 0.0125)
OKLCHoklch(24.75% 0.041 162)
XYZxyz(1.0749, 1.6082, 1.2905)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C271B #270C18
analogous
#0C270D #0C271B #0C2627
triadic
#0C271B #1B0C27 #271B0C
tetradic
#0C271B #0D0C27 #270C18 #26270C
square
#0C271B #0D0C27 #270C18 #26270C
split-complementary
#0C271B #270C26 #270D0C
monochromatic
#071710 #071710 #0C271B #1A563B #29855C

Accessibility & contrast

On white

15.89
#0C271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0C271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C271B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C271B#FFFFFF#000000##FFFFFF
##0C271B1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241A
Deuteranopia (green-blind)
#22211C
Tritanopia (blue-blind)
#042724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c271b;
/* rgb */ color: rgb(12, 39, 27);
/* oklch */ color: oklch(24.7% 0.041 162.0);
Tailwind
colors: {
  custom: {
    50: '#4d6157',
    500: '#0c271b',
    950: '#000000',
  },
}
SCSS
$custom: #0c271b;
$custom-light: #4d6157;
$custom-dark: #000000;
JSON
{
  "hex": "#0c271b",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 153.333,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.24748,
    "c": 0.04052,
    "h": 162
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#0C271B
secondary
#622D44
accent
#4B8CDC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C271B

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

Preview Lab → · Contrast checker → · Palette generator →

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