#012C1F#012C1F

#012C1F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.1% C 0.052 H 167.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#012C1F
RGBrgb(1, 44, 31)
HSLhsl(162, 96%, 9%)
HSVhsv(162, 98%, 17%)
CMYKcmyk(97.7%, 0%, 29.5%, 82.7%)
CIE-LABlab(14.99, -18.44, 4.41)
CIE-LCHlch(14.99, 18.96, 166.54°)
OKLaboklab(26.07% -0.0509 0.0113)
OKLCHoklch(26.07% 0.052 167.5)
XYZxyz(1.1604, 1.9066, 1.6029)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C1F #2C010E
analogous
#012C0A #012C1F #01242C
triadic
#012C1F #1F012C #2C1F01
tetradic
#012C1F #0A012C #2C010E #242C01
square
#012C1F #0A012C #2C010E #242C01
split-complementary
#012C1F #2C0124 #2C0A01
monochromatic
#011E15 #011E15 #012C1F #026849 #04A473

Accessibility & contrast

On white

15.20
#012C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012C1F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C1F#FFFFFF#000000##FFFFFF
##012C1F1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281E
Deuteranopia (green-blind)
#252420
Tritanopia (blue-blind)
#002C28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #012c1f;
/* rgb */ color: rgb(1, 44, 31);
/* oklch */ color: oklch(26.1% 0.052 167.5);
Tailwind
colors: {
  custom: {
    50: '#4a655a',
    500: '#012c1f',
    950: '#000000',
  },
}
SCSS
$custom: #012c1f;
$custom-light: #4a655a;
$custom-dark: #000000;
JSON
{
  "hex": "#012c1f",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 31
  },
  "hsl": {
    "h": 161.86,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26068,
    "c": 0.05213,
    "h": 167.5
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#012C1F
secondary
#721732
accent
#296AFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #012C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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