#12422E#12422E

#12422E is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.1% C 0.063 H 162.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#12422E
RGBrgb(18, 66, 46)
HSLhsl(155, 57%, 16%)
HSVhsv(155, 73%, 26%)
CMYKcmyk(72.7%, 0%, 30.3%, 74.1%)
CIE-LABlab(24.39, -21.72, 7.55)
CIE-LCHlch(24.39, 23.00, 160.82°)
OKLaboklab(34.06% -0.0596 0.0193)
OKLCHoklch(34.06% 0.063 162.1)
XYZxyz(2.6905, 4.2220, 3.2574)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12422E #421226
analogous
#124216 #12422E #123E42
triadic
#12422E #2E1242 #422E12
tetradic
#12422E #161242 #421226 #3E4212
square
#12422E #161242 #421226 #3E4212
split-complementary
#12422E #42123E #421612
monochromatic
#071811 #071811 #12422E #1F7250 #2CA271

Accessibility & contrast

On white

11.39
#12422E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12422E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12422E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12422E#FFFFFF#000000##FFFFFF
##12422E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2D
Deuteranopia (green-blind)
#3A382F
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12422e;
/* rgb */ color: rgb(18, 66, 46);
/* oklch */ color: oklch(34.1% 0.063 162.1);
Tailwind
colors: {
  custom: {
    50: '#577766',
    500: '#12422e',
    950: '#000000',
  },
}
SCSS
$custom: #12422e;
$custom-light: #577766;
$custom-dark: #000000;
JSON
{
  "hex": "#12422e",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 46
  },
  "hsl": {
    "h": 155,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3406,
    "c": 0.06263,
    "h": 162.1
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#12422E
secondary
#7B3552
accent
#4787E0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #12422E

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

Preview Lab → · Contrast checker → · Palette generator →

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