#12221E#12221E

#12221E is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.6% C 0.023 H 176.6°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#12221E
RGBrgb(18, 34, 30)
HSLhsl(165, 31%, 10%)
HSVhsv(165, 47%, 13%)
CMYKcmyk(47.1%, 0%, 11.8%, 86.7%)
CIE-LABlab(11.73, -7.97, 0.56)
CIE-LCHlch(11.73, 7.99, 175.99°)
OKLaboklab(23.61% -0.0231 0.0014)
OKLCHoklch(23.61% 0.023 176.6)
XYZxyz(1.0557, 1.3663, 1.4361)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12221E #221216
analogous
#122216 #12221E #121E22
triadic
#12221E #1E1222 #221E12
tetradic
#12221E #161222 #221216 #1E2212
square
#12221E #161222 #221216 #1E2212
split-complementary
#12221E #22121E #221612
monochromatic
#0B1412 #0B1412 #12221E #274A41 #3C7265

Accessibility & contrast

On white

16.49
#12221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12221E
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12221E#FFFFFF#000000##FFFFFF
##12221E1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#0D2221
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12221e;
/* rgb */ color: rgb(18, 34, 30);
/* oklch */ color: oklch(23.6% 0.023 176.6);
Tailwind
colors: {
  custom: {
    50: '#505d59',
    500: '#12221e',
    950: '#000000',
  },
}
SCSS
$custom: #12221e;
$custom-light: #505d59;
$custom-dark: #000000;
JSON
{
  "hex": "#12221e",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 165,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.23614,
    "c": 0.02313,
    "h": 176.6
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#12221E
secondary
#573840
accent
#617AC7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020403
muted
#787978

Preview Lab

Preview with #12221E

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

Preview Lab → · Contrast checker → · Palette generator →

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