#01271A#01271A

#01271A is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.2% C 0.049 H 165.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#01271A
RGBrgb(1, 39, 26)
HSLhsl(159, 95%, 8%)
HSVhsv(159, 97%, 15%)
CMYKcmyk(97.4%, 0%, 33.3%, 84.7%)
CIE-LABlab(12.81, -17.45, 4.87)
CIE-LCHlch(12.81, 18.12, 164.41°)
OKLaboklab(24.23% -0.0479 0.0124)
OKLCHoklch(24.23% 0.049 165.5)
XYZxyz(0.9244, 1.5320, 1.2241)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271A #27010E
analogous
#012707 #01271A #012127
triadic
#01271A #1A0127 #271A01
tetradic
#01271A #070127 #27010E #212701
square
#01271A #070127 #27010E #212701
split-complementary
#01271A #270121 #270701
monochromatic
#011E14 #011E14 #01271A #036342 #049E6A

Accessibility & contrast

On white

16.07
#01271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#01271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01271A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271A#FFFFFF#000000##FFFFFF
##01271A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#21201B
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271a;
/* rgb */ color: rgb(1, 39, 26);
/* oklch */ color: oklch(24.2% 0.049 165.5);
Tailwind
colors: {
  custom: {
    50: '#486156',
    500: '#01271a',
    950: '#000000',
  },
}
SCSS
$custom: #01271a;
$custom-light: #486156;
$custom-dark: #000000;
JSON
{
  "hex": "#01271a",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 159.474,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24227,
    "c": 0.04948,
    "h": 165.5
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#01271A
secondary
#6E1634
accent
#2972FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271A

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

Preview Lab → · Contrast checker → · Palette generator →

#01271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva