#122222#122222

#122222 is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.022 H 195.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#122222
RGBrgb(18, 34, 34)
HSLhsl(180, 31%, 10%)
HSVhsv(180, 47%, 13%)
CMYKcmyk(47.1%, 0%, 0%, 86.7%)
CIE-LABlab(11.88, -6.72, -2.14)
CIE-LCHlch(11.88, 7.05, 197.67°)
OKLaboklab(23.78% -0.0208 -0.0059)
OKLCHoklch(23.78% 0.022 195.8)
XYZxyz(1.1101, 1.3881, 1.7225)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122222 #221212
analogous
#12221A #122222 #121A22
triadic
#122222 #221222 #222212
tetradic
#122222 #1A1222 #221212 #1A2212
square
#122222 #1A1222 #221212 #1A2212
split-complementary
#122222 #22121A #221A12
monochromatic
#0B1414 #0B1414 #122222 #274A4A #3C7272

Accessibility & contrast

On white

16.44
#122222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#122222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122222
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122222#FFFFFF#000000##FFFFFF
##1222221.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202122
Deuteranopia (green-blind)
#1D1E22
Tritanopia (blue-blind)
#0B2322
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #122222;
/* rgb */ color: rgb(18, 34, 34);
/* oklch */ color: oklch(23.8% 0.022 195.8);
Tailwind
colors: {
  custom: {
    50: '#515d5c',
    500: '#122222',
    950: '#000000',
  },
}
SCSS
$custom: #122222;
$custom-light: #515d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#122222",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 180,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2378,
    "c": 0.02164,
    "h": 195.8
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#122222
secondary
#573838
accent
#6161C7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020404
muted
#787979

Preview Lab

Preview with #122222

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

Preview Lab → · Contrast checker → · Palette generator →

#122222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva