#12422F#12422F

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

Color values

HEX#12422F
RGBrgb(18, 66, 47)
HSLhsl(156, 57%, 16%)
HSVhsv(156, 73%, 26%)
CMYKcmyk(72.7%, 0%, 28.8%, 74.1%)
CIE-LABlab(24.42, -21.46, 6.94)
CIE-LCHlch(24.42, 22.55, 162.08°)
OKLaboklab(34.09% -0.059 0.0177)
OKLCHoklch(34.09% 0.062 163.3)
XYZxyz(2.7105, 4.2300, 3.3624)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12422F #421225
analogous
#124217 #12422F #123D42
triadic
#12422F #2F1242 #422F12
tetradic
#12422F #171242 #421225 #3D4212
square
#12422F #171242 #421225 #3D4212
split-complementary
#12422F #42123D #421712
monochromatic
#071811 #071811 #12422F #1F7251 #2CA273

Accessibility & contrast

On white

11.38
#12422F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#12422F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12422F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12422F#FFFFFF#000000##FFFFFF
##12422F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12422f;
/* rgb */ color: rgb(18, 66, 47);
/* oklch */ color: oklch(34.1% 0.062 163.3);
Tailwind
colors: {
  custom: {
    50: '#577767',
    500: '#12422f',
    950: '#000000',
  },
}
SCSS
$custom: #12422f;
$custom-light: #577767;
$custom-dark: #000000;
JSON
{
  "hex": "#12422f",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 47
  },
  "hsl": {
    "h": 156.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34089,
    "c": 0.06163,
    "h": 163.3
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#12422F
secondary
#7B3551
accent
#4784E0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #12422F

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

Preview Lab → · Contrast checker → · Palette generator →

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