#12312D#12312D

#12312D is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.8% C 0.038 H 184.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#12312D
RGBrgb(18, 49, 45)
HSLhsl(172, 46%, 13%)
HSVhsv(172, 63%, 19%)
CMYKcmyk(63.3%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.98, -12.69, -0.94)
CIE-LCHlch(17.98, 12.72, 184.23°)
OKLaboklab(28.83% -0.0375 -0.0027)
OKLCHoklch(28.83% 0.038 184.2)
XYZxyz(1.8212, 2.5145, 2.8715)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12312D #311216
analogous
#12311D #12312D #122531
triadic
#12312D #2D1231 #312D12
tetradic
#12312D #1D1231 #311216 #253112
square
#12312D #1D1231 #311216 #253112
split-complementary
#12312D #311225 #311D12
monochromatic
#081615 #081615 #12312D #225E56 #338B7F

Accessibility & contrast

On white

13.97
#12312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#12312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12312D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12312D#FFFFFF#000000##FFFFFF
##12312D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2D
Deuteranopia (green-blind)
#2A2A2D
Tritanopia (blue-blind)
#023230
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #12312d;
/* rgb */ color: rgb(18, 49, 45);
/* oklch */ color: oklch(28.8% 0.038 184.2);
Tailwind
colors: {
  custom: {
    50: '#536965',
    500: '#12312d',
    950: '#000000',
  },
}
SCSS
$custom: #12312d;
$custom-light: #536965;
$custom-dark: #000000;
JSON
{
  "hex": "#12312d",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 172.258,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2883,
    "c": 0.03756,
    "h": 184.2
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#12312D
secondary
#69363C
accent
#5263D6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#030605
muted
#787A7A

Preview Lab

Preview with #12312D

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

Preview Lab → · Contrast checker → · Palette generator →

#12312D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva