#12412F#12412F

#12412F is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.8% C 0.060 H 164.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#12412F
RGBrgb(18, 65, 47)
HSLhsl(157, 57%, 16%)
HSVhsv(157, 72%, 25%)
CMYKcmyk(72.3%, 0%, 27.7%, 74.5%)
CIE-LABlab(24.05, -20.94, 6.42)
CIE-LCHlch(24.05, 21.91, 162.97°)
OKLaboklab(33.78% -0.0578 0.0164)
OKLCHoklch(33.78% 0.06 164.1)
XYZxyz(2.6526, 4.1141, 3.3431)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12412F #411224
analogous
#124118 #12412F #123C41
triadic
#12412F #2F1241 #412F12
tetradic
#12412F #181241 #411224 #3C4112
square
#12412F #181241 #411224 #3C4112
split-complementary
#12412F #41123C #411812
monochromatic
#071811 #071811 #12412F #1F7152 #2DA174

Accessibility & contrast

On white

11.52
#12412F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12412F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12412F#FFFFFF#000000##FFFFFF
##12412F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12412f;
/* rgb */ color: rgb(18, 65, 47);
/* oklch */ color: oklch(33.8% 0.060 164.1);
Tailwind
colors: {
  custom: {
    50: '#567667',
    500: '#12412f',
    950: '#000000',
  },
}
SCSS
$custom: #12412f;
$custom-light: #567667;
$custom-dark: #000000;
JSON
{
  "hex": "#12412f",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 157.021,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33785,
    "c": 0.06004,
    "h": 164.1
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#12412F
secondary
#7A354F
accent
#4882E0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #12412F

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

Preview Lab → · Contrast checker → · Palette generator →

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