#012A1C#012A1C

#012A1C is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.3% C 0.052 H 165.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#012A1C
RGBrgb(1, 42, 28)
HSLhsl(160, 95%, 8%)
HSVhsv(160, 98%, 16%)
CMYKcmyk(97.6%, 0%, 33.3%, 83.5%)
CIE-LABlab(14.09, -18.36, 5.25)
CIE-LCHlch(14.09, 19.10, 164.03°)
OKLaboklab(25.3% -0.0503 0.0134)
OKLCHoklch(25.3% 0.052 165.1)
XYZxyz(1.0500, 1.7461, 1.3801)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A1C #2A010F
analogous
#012A07 #012A1C #01232A
triadic
#012A1C #1C012A #2A1C01
tetradic
#012A1C #07012A #2A010F #232A01
square
#012A1C #07012A #2A010F #232A01
split-complementary
#012A1C #2A0123 #2A0701
monochromatic
#011E14 #011E14 #012A1C #026644 #04A26C

Accessibility & contrast

On white

15.56
#012A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012A1C
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A1C#FFFFFF#000000##FFFFFF
##012A1C1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#24221D
Tritanopia (blue-blind)
#002A26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #012a1c;
/* rgb */ color: rgb(1, 42, 28);
/* oklch */ color: oklch(25.3% 0.052 165.1);
Tailwind
colors: {
  custom: {
    50: '#496458',
    500: '#012a1c',
    950: '#000000',
  },
}
SCSS
$custom: #012a1c;
$custom-light: #496458;
$custom-dark: #000000;
JSON
{
  "hex": "#012a1c",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 159.512,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25303,
    "c": 0.05208,
    "h": 165.1
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#012A1C
secondary
#701635
accent
#2972FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #012A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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