#12312E#12312E

#12312E is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.9% C 0.037 H 186.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#12312E
RGBrgb(18, 49, 46)
HSLhsl(174, 46%, 13%)
HSVhsv(174, 63%, 19%)
CMYKcmyk(63.3%, 0%, 6.1%, 80.8%)
CIE-LABlab(18.02, -12.36, -1.58)
CIE-LCHlch(18.02, 12.46, 187.28°)
OKLaboklab(28.87% -0.0369 -0.0044)
OKLCHoklch(28.87% 0.037 186.9)
XYZxyz(1.8407, 2.5223, 2.9741)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12312E #311215
analogous
#12311E #12312E #122431
triadic
#12312E #2E1231 #312E12
tetradic
#12312E #1E1231 #311215 #243112
square
#12312E #1E1231 #311215 #243112
split-complementary
#12312E #311224 #311E12
monochromatic
#081615 #081615 #12312E #225E58 #338B82

Accessibility & contrast

On white

13.96
#12312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12312E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12312E#FFFFFF#000000##FFFFFF
##12312E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#013230
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #12312e;
/* rgb */ color: rgb(18, 49, 46);
/* oklch */ color: oklch(28.9% 0.037 186.9);
Tailwind
colors: {
  custom: {
    50: '#536966',
    500: '#12312e',
    950: '#000000',
  },
}
SCSS
$custom: #12312e;
$custom-light: #536966;
$custom-dark: #000000;
JSON
{
  "hex": "#12312e",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 174.194,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2887,
    "c": 0.03717,
    "h": 186.9
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#12312E
secondary
#69363B
accent
#525FD6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #12312E

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

Preview Lab → · Contrast checker → · Palette generator →

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