#12221A#12221A

#12221A is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.5% C 0.027 H 161.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#12221A
RGBrgb(18, 34, 26)
HSLhsl(150, 31%, 10%)
HSVhsv(150, 47%, 13%)
CMYKcmyk(47.1%, 0%, 23.5%, 86.7%)
CIE-LABlab(11.60, -9.12, 3.28)
CIE-LCHlch(11.60, 9.70, 160.23°)
OKLaboklab(23.47% -0.0254 0.0084)
OKLCHoklch(23.47% 0.027 161.7)
XYZxyz(1.0079, 1.3472, 1.1840)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12221A #22121A
analogous
#122212 #12221A #122222
triadic
#12221A #1A1222 #221A12
tetradic
#12221A #121222 #22121A #222212
square
#12221A #121222 #22121A #222212
split-complementary
#12221A #221222 #221212
monochromatic
#0B140F #0B140F #12221A #274A39 #3C7257

Accessibility & contrast

On white

16.54
#12221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#12221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12221A
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12221A#FFFFFF#000000##FFFFFF
##12221A1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#1F1E1A
Tritanopia (blue-blind)
#0E2220
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12221a;
/* rgb */ color: rgb(18, 34, 26);
/* oklch */ color: oklch(23.5% 0.027 161.7);
Tailwind
colors: {
  custom: {
    50: '#505d56',
    500: '#12221a',
    950: '#000000',
  },
}
SCSS
$custom: #12221a;
$custom-light: #505d56;
$custom-dark: #000000;
JSON
{
  "hex": "#12221a",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 150,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.23466,
    "c": 0.02681,
    "h": 161.7
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#12221A
secondary
#573848
accent
#6194C7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020403
muted
#787978

Preview Lab

Preview with #12221A

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

Preview Lab → · Contrast checker → · Palette generator →

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