#012C1B#012C1B

#012C1B is a dark, muted teal. Relative luminance 0.019; OKLCH L 25.9% C 0.056 H 161.5°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#012C1B
RGBrgb(1, 44, 27)
HSLhsl(156, 96%, 9%)
HSVhsv(156, 98%, 17%)
CMYKcmyk(97.7%, 0%, 38.6%, 82.7%)
CIE-LABlab(14.88, -19.64, 7.04)
CIE-LCHlch(14.88, 20.86, 160.27°)
OKLaboklab(25.94% -0.0534 0.0179)
OKLCHoklch(25.94% 0.056 161.5)
XYZxyz(1.1109, 1.8868, 1.3423)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C1B #2C0112
analogous
#012C06 #012C1B #01282C
triadic
#012C1B #1B012C #2C1B01
tetradic
#012C1B #06012C #2C0112 #282C01
square
#012C1B #06012C #2C0112 #282C01
split-complementary
#012C1B #2C0128 #2C0601
monochromatic
#011E12 #011E12 #012C1B #026840 #04A464

Accessibility & contrast

On white

15.25
#012C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#012C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C1B
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C1B#FFFFFF#000000##FFFFFF
##012C1B1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281A
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#002C27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012c1b;
/* rgb */ color: rgb(1, 44, 27);
/* oklch */ color: oklch(25.9% 0.056 161.5);
Tailwind
colors: {
  custom: {
    50: '#496557',
    500: '#012c1b',
    950: '#000000',
  },
}
SCSS
$custom: #012c1b;
$custom-light: #496557;
$custom-dark: #000000;
JSON
{
  "hex": "#012c1b",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 27
  },
  "hsl": {
    "h": 156.279,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25944,
    "c": 0.05627,
    "h": 161.5
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#012C1B
secondary
#72173B
accent
#297DFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #012C1B

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

Preview Lab → · Contrast checker → · Palette generator →

#012C1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva