#12261C#12261C

#12261C is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.8% C 0.033 H 161.0°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#12261C
RGBrgb(18, 38, 28)
HSLhsl(150, 36%, 11%)
HSVhsv(150, 53%, 15%)
CMYKcmyk(52.6%, 0%, 26.3%, 85.1%)
CIE-LABlab(13.22, -11.10, 4.14)
CIE-LCHlch(13.22, 11.84, 159.57°)
OKLaboklab(24.8% -0.0308 0.0106)
OKLCHoklch(24.8% 0.033 161)
XYZxyz(1.1521, 1.5986, 1.3462)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12261C #26121C
analogous
#122612 #12261C #122626
triadic
#12261C #1C1226 #261C12
tetradic
#12261C #121226 #26121C #262612
square
#12261C #121226 #26121C #262612
split-complementary
#12261C #261226 #261212
monochromatic
#0A150F #0A150F #12261C #26503B #397959

Accessibility & contrast

On white

15.91
#12261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12261C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12261C#FFFFFF#000000##FFFFFF
##12261C1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#22211D
Tritanopia (blue-blind)
#0D2623
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12261c;
/* rgb */ color: rgb(18, 38, 28);
/* oklch */ color: oklch(24.8% 0.033 161.0);
Tailwind
colors: {
  custom: {
    50: '#516058',
    500: '#12261c',
    950: '#000000',
  },
}
SCSS
$custom: #12261c;
$custom-light: #516058;
$custom-dark: #000000;
JSON
{
  "hex": "#12261c",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 150,
    "s": 35.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.24795,
    "c": 0.03258,
    "h": 161
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#12261C
secondary
#5C374A
accent
#5C94CC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #12261C

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

Preview Lab → · Contrast checker → · Palette generator →

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