#12261E#12261E

#12261E is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.030 H 166.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#12261E
RGBrgb(18, 38, 30)
HSLhsl(156, 36%, 11%)
HSVhsv(156, 53%, 15%)
CMYKcmyk(52.6%, 0%, 21.1%, 85.1%)
CIE-LABlab(13.28, -10.54, 2.79)
CIE-LCHlch(13.28, 10.91, 165.16°)
OKLaboklab(24.86% -0.0296 0.0072)
OKLCHoklch(24.86% 0.03 166.4)
XYZxyz(1.1768, 1.6085, 1.4765)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12261E #26121A
analogous
#122614 #12261E #122426
triadic
#12261E #1E1226 #261E12
tetradic
#12261E #141226 #26121A #242612
square
#12261E #141226 #26121A #242612
split-complementary
#12261E #261224 #261412
monochromatic
#0A1510 #0A1510 #12261E #26503F #397960

Accessibility & contrast

On white

15.89
#12261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12261E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12261E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12261E#FFFFFF#000000##FFFFFF
##12261E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#22211F
Tritanopia (blue-blind)
#0C2624
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12261e;
/* rgb */ color: rgb(18, 38, 30);
/* oklch */ color: oklch(24.9% 0.030 166.4);
Tailwind
colors: {
  custom: {
    50: '#516059',
    500: '#12261e',
    950: '#000000',
  },
}
SCSS
$custom: #12261e;
$custom-light: #516059;
$custom-dark: #000000;
JSON
{
  "hex": "#12261e",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 156,
    "s": 35.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.24863,
    "c": 0.03047,
    "h": 166.4
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#12261E
secondary
#5C3746
accent
#5C89CC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #12261E

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

Preview Lab → · Contrast checker → · Palette generator →

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