#0C281C#0C281C

#0C281C is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.041 H 162.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#0C281C
RGBrgb(12, 40, 28)
HSLhsl(154, 54%, 10%)
HSVhsv(154, 70%, 16%)
CMYKcmyk(70%, 0%, 30%, 84.3%)
CIE-LABlab(13.71, -14.27, 4.77)
CIE-LCHlch(13.71, 15.05, 161.50°)
OKLaboklab(25.11% -0.0394 0.0122)
OKLCHoklch(25.11% 0.041 162.8)
XYZxyz(1.1199, 1.6795, 1.3635)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C281C #280C18
analogous
#0C280E #0C281C #0C2628
triadic
#0C281C #1C0C28 #281C0C
tetradic
#0C281C #0E0C28 #280C18 #26280C
square
#0C281C #0E0C28 #280C18 #26280C
split-complementary
#0C281C #280C26 #280E0C
monochromatic
#071810 #071810 #0C281C #1A573D #28865E

Accessibility & contrast

On white

15.72
#0C281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0C281C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C281C
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C281C#FFFFFF#000000##FFFFFF
##0C281C1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#23221D
Tritanopia (blue-blind)
#032825
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c281c;
/* rgb */ color: rgb(12, 40, 28);
/* oklch */ color: oklch(25.1% 0.041 162.8);
Tailwind
colors: {
  custom: {
    50: '#4e6258',
    500: '#0c281c',
    950: '#000000',
  },
}
SCSS
$custom: #0c281c;
$custom-light: #4e6258;
$custom-dark: #000000;
JSON
{
  "hex": "#0c281c",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 154.286,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25105,
    "c": 0.04124,
    "h": 162.8
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#0C281C
secondary
#632D44
accent
#4B89DD
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C281C

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

Preview Lab → · Contrast checker → · Palette generator →

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