#0C261C#0C261C

#0C261C is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.5% C 0.038 H 165.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0C261C
RGBrgb(12, 38, 28)
HSLhsl(157, 52%, 10%)
HSVhsv(157, 68%, 15%)
CMYKcmyk(68.4%, 0%, 26.3%, 85.1%)
CIE-LABlab(12.91, -13.11, 3.65)
CIE-LCHlch(12.91, 13.61, 164.43°)
OKLaboklab(24.46% -0.0365 0.0094)
OKLCHoklch(24.46% 0.038 165.6)
XYZxyz(1.0542, 1.5481, 1.3416)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C261C #260C16
analogous
#0C260F #0C261C #0C2326
triadic
#0C261C #1C0C26 #261C0C
tetradic
#0C261C #0F0C26 #260C16 #23260C
square
#0C261C #0F0C26 #260C16 #23260C
split-complementary
#0C261C #260C23 #260F0C
monochromatic
#071711 #071711 #0C261C #1B553E #298361

Accessibility & contrast

On white

16.04
#0C261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C261C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C261C
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C261C#FFFFFF#000000##FFFFFF
##0C261C1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#21201D
Tritanopia (blue-blind)
#032623
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c261c;
/* rgb */ color: rgb(12, 38, 28);
/* oklch */ color: oklch(24.5% 0.038 165.6);
Tailwind
colors: {
  custom: {
    50: '#4d6058',
    500: '#0c261c',
    950: '#000000',
  },
}
SCSS
$custom: #0c261c;
$custom-light: #4d6058;
$custom-dark: #000000;
JSON
{
  "hex": "#0c261c",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 156.923,
    "s": 52,
    "l": 9.804
  },
  "oklch": {
    "l": 0.24457,
    "c": 0.03766,
    "h": 165.6
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#0C261C
secondary
#612D41
accent
#4C83DB
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C261C

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

Preview Lab → · Contrast checker → · Palette generator →

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