#12412C#12412C

#12412C is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.7% C 0.063 H 160.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#12412C
RGBrgb(18, 65, 44)
HSLhsl(153, 57%, 16%)
HSVhsv(153, 72%, 25%)
CMYKcmyk(72.3%, 0%, 32.3%, 74.5%)
CIE-LABlab(23.97, -21.74, 8.27)
CIE-LCHlch(23.97, 23.26, 159.17°)
OKLaboklab(33.7% -0.0595 0.021)
OKLCHoklch(33.7% 0.063 160.5)
XYZxyz(2.5941, 4.0908, 3.0353)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12412C #411227
analogous
#124115 #12412C #123F41
triadic
#12412C #2C1241 #412C12
tetradic
#12412C #151241 #411227 #3F4112
square
#12412C #151241 #411227 #3F4112
split-complementary
#12412C #41123F #411512
monochromatic
#071810 #071810 #12412C #1F714C #2DA16D

Accessibility & contrast

On white

11.55
#12412C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#12412C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12412C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12412C#FFFFFF#000000##FFFFFF
##12412C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2B
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12412c;
/* rgb */ color: rgb(18, 65, 44);
/* oklch */ color: oklch(33.7% 0.063 160.5);
Tailwind
colors: {
  custom: {
    50: '#567665',
    500: '#12412c',
    950: '#000000',
  },
}
SCSS
$custom: #12412c;
$custom-light: #567665;
$custom-dark: #000000;
JSON
{
  "hex": "#12412c",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 44
  },
  "hsl": {
    "h": 153.191,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.06308,
    "h": 160.5
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#12412C
secondary
#7A3554
accent
#488CE0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #12412C

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

Preview Lab → · Contrast checker → · Palette generator →

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