#0C241C#0C241C

#0C241C is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.034 H 169.1°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0C241C
RGBrgb(12, 36, 28)
HSLhsl(160, 50%, 9%)
HSVhsv(160, 67%, 14%)
CMYKcmyk(66.7%, 0%, 22.2%, 85.9%)
CIE-LABlab(12.11, -11.91, 2.52)
CIE-LCHlch(12.11, 12.18, 168.07°)
OKLaboklab(23.81% -0.0335 0.0065)
OKLCHoklch(23.81% 0.034 169.1)
XYZxyz(0.9920, 1.4237, 1.3209)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C241C #240C14
analogous
#0C2410 #0C241C #0C2024
triadic
#0C241C #1C0C24 #241C0C
tetradic
#0C241C #100C24 #240C14 #20240C
square
#0C241C #100C24 #240C14 #20240C
split-complementary
#0C241C #240C20 #24100C
monochromatic
#081712 #081712 #0C241C #1B5240 #2B8063

Accessibility & contrast

On white

16.34
#0C241C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C241C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C241C
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C241C#FFFFFF#000000##FFFFFF
##0C241C1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#1F1F1D
Tritanopia (blue-blind)
#042422
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c241c;
/* rgb */ color: rgb(12, 36, 28);
/* oklch */ color: oklch(23.8% 0.034 169.1);
Tailwind
colors: {
  custom: {
    50: '#4d5e58',
    500: '#0c241c',
    950: '#000000',
  },
}
SCSS
$custom: #0c241c;
$custom-light: #4d5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c241c",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 160,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23809,
    "c": 0.03412,
    "h": 169.1
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#0C241C
secondary
#5E2D3E
accent
#4E7DDA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C241C

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

Preview Lab → · Contrast checker → · Palette generator →

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