#122A2C#122A2C

#122A2C is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.7% C 0.030 H 202.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#122A2C
RGBrgb(18, 42, 44)
HSLhsl(185, 42%, 12%)
HSVhsv(185, 59%, 17%)
CMYKcmyk(59.1%, 4.5%, 0%, 82.7%)
CIE-LABlab(15.31, -8.65, -4.21)
CIE-LCHlch(15.31, 9.62, 205.92°)
OKLaboklab(26.66% -0.0279 -0.0116)
OKLCHoklch(26.66% 0.03 202.6)
XYZxyz(1.5319, 1.9662, 2.6812)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A2C #2C1412
analogous
#122C21 #122A2C #121D2C
triadic
#122A2C #2C122A #2A2C12
tetradic
#122A2C #21122C #2C1412 #1D2C12
square
#122A2C #21122C #2C1412 #1D2C12
split-complementary
#122A2C #2C121D #2C2112
monochromatic
#091516 #091516 #122A2C #245357 #367D83

Accessibility & contrast

On white

15.07
#122A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A2C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A2C#FFFFFF#000000##FFFFFF
##122A2C1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#042C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122a2c;
/* rgb */ color: rgb(18, 42, 44);
/* oklch */ color: oklch(26.7% 0.030 202.6);
Tailwind
colors: {
  custom: {
    50: '#526365',
    500: '#122a2c',
    950: '#000000',
  },
}
SCSS
$custom: #122a2c;
$custom-light: #526365;
$custom-dark: #000000;
JSON
{
  "hex": "#122a2c",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 184.615,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26661,
    "c": 0.03017,
    "h": 202.6
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#122A2C
secondary
#633A36
accent
#6056D2
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020505
muted
#78797A

Preview Lab

Preview with #122A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#122A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva