#12412A#12412A

#12412A is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.065 H 158.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#12412A
RGBrgb(18, 65, 42)
HSLhsl(151, 57%, 16%)
HSVhsv(151, 72%, 25%)
CMYKcmyk(72.3%, 0%, 35.4%, 74.5%)
CIE-LABlab(23.92, -22.25, 9.50)
CIE-LCHlch(23.92, 24.19, 156.87°)
OKLaboklab(33.64% -0.0606 0.0241)
OKLCHoklch(33.64% 0.065 158.3)
XYZxyz(2.5574, 4.0761, 2.8420)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12412A #411229
analogous
#124113 #12412A #124141
triadic
#12412A #2A1241 #412A12
tetradic
#12412A #131241 #411229 #414112
square
#12412A #131241 #411229 #414112
split-complementary
#12412A #411241 #411312
monochromatic
#07180F #07180F #12412A #1F7149 #2DA168

Accessibility & contrast

On white

11.57
#12412A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12412A
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12412A#FFFFFF#000000##FFFFFF
##12412A1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12412a;
/* rgb */ color: rgb(18, 65, 42);
/* oklch */ color: oklch(33.6% 0.065 158.3);
Tailwind
colors: {
  custom: {
    50: '#567663',
    500: '#12412a',
    950: '#000000',
  },
}
SCSS
$custom: #12412a;
$custom-light: #567663;
$custom-dark: #000000;
JSON
{
  "hex": "#12412a",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 42
  },
  "hsl": {
    "h": 150.638,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33642,
    "c": 0.06521,
    "h": 158.3
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#12412A
secondary
#7A3557
accent
#4892E0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #12412A

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

Preview Lab → · Contrast checker → · Palette generator →

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