#122822#122822

#122822 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.6% C 0.031 H 174.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#122822
RGBrgb(18, 40, 34)
HSLhsl(164, 38%, 11%)
HSVhsv(164, 55%, 16%)
CMYKcmyk(55%, 0%, 15%, 84.3%)
CIE-LABlab(14.18, -10.62, 1.24)
CIE-LCHlch(14.18, 10.69, 173.36°)
OKLaboklab(25.63% -0.0304 0.0031)
OKLCHoklch(25.63% 0.031 174.2)
XYZxyz(1.2969, 1.7616, 1.7847)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122822 #281218
analogous
#122817 #122822 #122328
triadic
#122822 #221228 #282212
tetradic
#122822 #171228 #281218 #232812
square
#122822 #171228 #281218 #232812
split-complementary
#122822 #281223 #281712
monochromatic
#091512 #091512 #122822 #255246 #387C6A

Accessibility & contrast

On white

15.53
#122822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#122822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122822
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122822#FFFFFF#000000##FFFFFF
##1228221.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272622
Deuteranopia (green-blind)
#232322
Tritanopia (blue-blind)
#0A2826
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122822;
/* rgb */ color: rgb(18, 40, 34);
/* oklch */ color: oklch(25.6% 0.031 174.2);
Tailwind
colors: {
  custom: {
    50: '#51625c',
    500: '#122822',
    950: '#000000',
  },
}
SCSS
$custom: #122822;
$custom-light: #51625c;
$custom-dark: #000000;
JSON
{
  "hex": "#122822",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 163.636,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25633,
    "c": 0.03058,
    "h": 174.2
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#122822
secondary
#5F3742
accent
#5A7ACE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020504
muted
#787979

Preview Lab

Preview with #122822

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

Preview Lab → · Contrast checker → · Palette generator →

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