#12221C#12221C

#12221C is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.5% C 0.025 H 168.5°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#12221C
RGBrgb(18, 34, 28)
HSLhsl(158, 31%, 10%)
HSVhsv(158, 47%, 13%)
CMYKcmyk(47.1%, 0%, 17.6%, 86.7%)
CIE-LABlab(11.66, -8.56, 1.92)
CIE-LCHlch(11.66, 8.77, 167.38°)
OKLaboklab(23.54% -0.0243 0.0049)
OKLCHoklch(23.54% 0.025 168.5)
XYZxyz(1.0310, 1.3564, 1.3059)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12221C #221218
analogous
#122214 #12221C #122022
triadic
#12221C #1C1222 #221C12
tetradic
#12221C #141222 #221218 #202212
square
#12221C #141222 #221218 #202212
split-complementary
#12221C #221220 #221412
monochromatic
#0B1410 #0B1410 #12221C #274A3D #3C725E

Accessibility & contrast

On white

16.52
#12221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12221C
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12221C#FFFFFF#000000##FFFFFF
##12221C1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201C
Deuteranopia (green-blind)
#1F1E1C
Tritanopia (blue-blind)
#0E2220
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12221c;
/* rgb */ color: rgb(18, 34, 28);
/* oklch */ color: oklch(23.5% 0.025 168.5);
Tailwind
colors: {
  custom: {
    50: '#505d57',
    500: '#12221c',
    950: '#000000',
  },
}
SCSS
$custom: #12221c;
$custom-light: #505d57;
$custom-dark: #000000;
JSON
{
  "hex": "#12221c",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 157.5,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.23538,
    "c": 0.02476,
    "h": 168.5
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#12221C
secondary
#573844
accent
#6187C7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020403
muted
#787978

Preview Lab

Preview with #12221C

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

Preview Lab → · Contrast checker → · Palette generator →

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