#0C291E#0C291E

#0C291E is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.5% C 0.041 H 165.5°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#0C291E
RGBrgb(12, 41, 30)
HSLhsl(157, 55%, 10%)
HSVhsv(157, 71%, 16%)
CMYKcmyk(70.7%, 0%, 26.8%, 83.9%)
CIE-LABlab(14.16, -14.27, 4.00)
CIE-LCHlch(14.16, 14.82, 164.33°)
OKLaboklab(25.49% -0.0396 0.0103)
OKLCHoklch(25.49% 0.041 165.5)
XYZxyz(1.1788, 1.7577, 1.5052)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C291E #290C17
analogous
#0C290F #0C291E #0C2529
triadic
#0C291E #1E0C29 #291E0C
tetradic
#0C291E #0F0C29 #290C17 #25290C
square
#0C291E #0F0C29 #290C17 #25290C
split-complementary
#0C291E #290C25 #290F0C
monochromatic
#071811 #071811 #0C291E #1A5841 #288863

Accessibility & contrast

On white

15.54
#0C291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C291E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C291E
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C291E#FFFFFF#000000##FFFFFF
##0C291E1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#24231F
Tritanopia (blue-blind)
#022926
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c291e;
/* rgb */ color: rgb(12, 41, 30);
/* oklch */ color: oklch(25.5% 0.041 165.5);
Tailwind
colors: {
  custom: {
    50: '#4e6359',
    500: '#0c291e',
    950: '#000000',
  },
}
SCSS
$custom: #0c291e;
$custom-light: #4e6359;
$custom-dark: #000000;
JSON
{
  "hex": "#0c291e",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 157.241,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25494,
    "c": 0.04092,
    "h": 165.5
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#0C291E
secondary
#642D42
accent
#4A82DE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #0C291E

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

Preview Lab → · Contrast checker → · Palette generator →

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