#12342A#12342A

#12342A is a dark, muted teal. Relative luminance 0.028; OKLCH L 29.6% C 0.044 H 171.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#12342A
RGBrgb(18, 52, 42)
HSLhsl(162, 49%, 14%)
HSVhsv(162, 65%, 20%)
CMYKcmyk(65.4%, 0%, 19.2%, 79.6%)
CIE-LABlab(19.02, -15.37, 2.63)
CIE-LCHlch(19.02, 15.59, 170.29°)
OKLaboklab(29.64% -0.0434 0.0067)
OKLCHoklch(29.64% 0.044 171.2)
XYZxyz(1.8952, 2.7516, 2.6213)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12342A #34121C
analogous
#123419 #12342A #122D34
triadic
#12342A #2A1234 #342A12
tetradic
#12342A #191234 #34121C #2D3412
square
#12342A #191234 #34121C #2D3412
split-complementary
#12342A #34122D #341912
monochromatic
#081712 #081712 #12342A #22614F #318F73

Accessibility & contrast

On white

13.54
#12342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12342A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12342A#FFFFFF#000000##FFFFFF
##12342A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32302A
Deuteranopia (green-blind)
#2D2D2B
Tritanopia (blue-blind)
#033431
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12342a;
/* rgb */ color: rgb(18, 52, 42);
/* oklch */ color: oklch(29.6% 0.044 171.2);
Tailwind
colors: {
  custom: {
    50: '#546b63',
    500: '#12342a',
    950: '#000000',
  },
}
SCSS
$custom: #12342a;
$custom-light: #546b63;
$custom-dark: #000000;
JSON
{
  "hex": "#12342a",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 162.353,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29638,
    "c": 0.04389,
    "h": 171.2
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#12342A
secondary
#6C3546
accent
#5078D8
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#030605
muted
#787A79

Preview Lab

Preview with #12342A

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

Preview Lab → · Contrast checker → · Palette generator →

#12342A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva