#012A1F#012A1F

#012A1F is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.4% C 0.049 H 170.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#012A1F
RGBrgb(1, 42, 31)
HSLhsl(164, 95%, 8%)
HSVhsv(164, 98%, 16%)
CMYKcmyk(97.6%, 0%, 26.2%, 83.5%)
CIE-LABlab(14.18, -17.41, 3.27)
CIE-LCHlch(14.18, 17.72, 169.38°)
OKLaboklab(25.4% -0.0485 0.0083)
OKLCHoklch(25.4% 0.049 170.2)
XYZxyz(1.0877, 1.7612, 1.5787)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A1F #2A010C
analogous
#012A0A #012A1F #01202A
triadic
#012A1F #1F012A #2A1F01
tetradic
#012A1F #0A012A #2A010C #202A01
square
#012A1F #0A012A #2A010C #202A01
split-complementary
#012A1F #2A0120 #2A0A01
monochromatic
#011E16 #011E16 #012A1F #02664B #04A277

Accessibility & contrast

On white

15.53
#012A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#012A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A1F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A1F#FFFFFF#000000##FFFFFF
##012A1F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#232220
Tritanopia (blue-blind)
#002A27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #012a1f;
/* rgb */ color: rgb(1, 42, 31);
/* oklch */ color: oklch(25.4% 0.049 170.2);
Tailwind
colors: {
  custom: {
    50: '#49645a',
    500: '#012a1f',
    950: '#000000',
  },
}
SCSS
$custom: #012a1f;
$custom-light: #49645a;
$custom-dark: #000000;
JSON
{
  "hex": "#012a1f",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 163.902,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25403,
    "c": 0.04917,
    "h": 170.2
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#012A1F
secondary
#70162F
accent
#2962FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #012A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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