#012D1F#012D1F

#012D1F is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.4% C 0.054 H 166.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#012D1F
RGBrgb(1, 45, 31)
HSLhsl(161, 96%, 9%)
HSVhsv(161, 98%, 18%)
CMYKcmyk(97.8%, 0%, 31.1%, 82.4%)
CIE-LABlab(15.39, -18.95, 4.98)
CIE-LCHlch(15.39, 19.59, 165.27°)
OKLaboklab(26.4% -0.0521 0.0127)
OKLCHoklch(26.4% 0.054 166.3)
XYZxyz(1.1981, 1.9820, 1.6155)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012D1F #2D010F
analogous
#012D09 #012D1F #01252D
triadic
#012D1F #1F012D #2D1F01
tetradic
#012D1F #09012D #2D010F #252D01
square
#012D1F #09012D #2D010F #252D01
split-complementary
#012D1F #2D0125 #2D0901
monochromatic
#011E15 #011E15 #012D1F #026948 #04A571

Accessibility & contrast

On white

15.04
#012D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#012D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012D1F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012D1F#FFFFFF#000000##FFFFFF
##012D1F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291E
Deuteranopia (green-blind)
#262520
Tritanopia (blue-blind)
#002D29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #012d1f;
/* rgb */ color: rgb(1, 45, 31);
/* oklch */ color: oklch(26.4% 0.054 166.3);
Tailwind
colors: {
  custom: {
    50: '#4a665a',
    500: '#012d1f',
    950: '#000000',
  },
}
SCSS
$custom: #012d1f;
$custom-light: #4a665a;
$custom-dark: #000000;
JSON
{
  "hex": "#012d1f",
  "rgb": {
    "r": 1,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 160.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.264,
    "c": 0.05363,
    "h": 166.3
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#012D1F
secondary
#731734
accent
#296DFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #012D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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