#12422A#12422A

#12422A is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.0% C 0.067 H 157.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#12422A
RGBrgb(18, 66, 42)
HSLhsl(150, 57%, 16%)
HSVhsv(150, 73%, 26%)
CMYKcmyk(72.7%, 0%, 36.4%, 74.1%)
CIE-LABlab(24.30, -22.74, 10.02)
CIE-LCHlch(24.30, 24.85, 156.23°)
OKLaboklab(33.95% -0.0619 0.0253)
OKLCHoklch(33.95% 0.067 157.7)
XYZxyz(2.6153, 4.1919, 2.8613)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12422A #42122A
analogous
#124212 #12422A #124242
triadic
#12422A #2A1242 #422A12
tetradic
#12422A #121242 #42122A #424212
square
#12422A #121242 #42122A #424212
split-complementary
#12422A #421242 #421212
monochromatic
#07180F #07180F #12422A #1F7249 #2CA267

Accessibility & contrast

On white

11.42
#12422A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12422A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12422A#FFFFFF#000000##FFFFFF
##12422A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#3B382C
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12422a;
/* rgb */ color: rgb(18, 66, 42);
/* oklch */ color: oklch(34.0% 0.067 157.7);
Tailwind
colors: {
  custom: {
    50: '#577763',
    500: '#12422a',
    950: '#000000',
  },
}
SCSS
$custom: #12422a;
$custom-light: #577763;
$custom-dark: #000000;
JSON
{
  "hex": "#12422a",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 42
  },
  "hsl": {
    "h": 150,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3395,
    "c": 0.06684,
    "h": 157.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#12422A
secondary
#7B3558
accent
#4794E0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #12422A

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

Preview Lab → · Contrast checker → · Palette generator →

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